LWJGL Forum

Programming => OpenGL => Topic started by: madeinsoviets on February 22, 2011, 12:59:49

Title: does anyone have java snippet of creating projection matrix
Post by: madeinsoviets on February 22, 2011, 12:59:49
Guys, does anyone have java snippet of creating projection matrix without using glu? Or maybe someone can suggest me some good java math library?
Title: Re: does anyone have java snippet of creating projection matrix
Post by: madeinsoviets on February 22, 2011, 14:21:17
noone has?
Title: Re: does anyone have java snippet of creating projection matrix
Post by: ryanm on February 23, 2011, 10:23:30
You might want to wait for more than 1 hour and twenty minutes, especially at 5 in the morning, before assuming no-one can help you.

Here (http://code.google.com/p/rugl/source/browse/trunk/droid/DroidRUGL/src/com/ryanm/droid/rugl/gl/GLU.java) is a version of Android's GLU class that allows you to retrieve the projection matrix that results from a call to gluPerspective - just give it a float[16] as the final argument.
Title: Re: does anyone have java snippet of creating projection matrix
Post by: madeinsoviets on February 24, 2011, 15:05:10
thanks!)