|
From: Mike H. <he...@cs...> - 2003-10-27 03:36:06
|
I'm working on a full scene graph API that will work with gl4java, but
I'm having a problem with the glGetFloatv call
My code looks like this
gl.glMatrixMode( GL_MODELVIEW );
gl.glLoadIdentity();
float matrix[] = new float[16];
gl.glGetFloatv( GL_MODELVIEW_MATRIX, matrix );
but after the call, matrix contains 16 0.0 and not the identity matrix
as expected.
any help/suggestions?
thanks,
mike helmick
------------------------------------------------------------------------
----------------------
Michael T Helmick, Xavier Computer Science BS. 2000
Systems Analyst, Convergys IMG. Wireless Solutions
E-Mail: he...@cs...
Work: 513 723-3355 PCS: 513 290-5019
Web: http://mikehelmick.com/
------------------------------------------------------------------------
----------------------
Help stamp out and abolish redundancy.
|