Re: [PyOpenGL-Users] glGetDouble
Brought to you by:
mcfletch
From: Pete S. <pe...@sh...> - 2003-01-09 23:37:28
|
John wrote: > glGetFloat (GL_MODELVIEW_MATRIX) seems to return an array of > integers instead of floats. What it returns seems to be the > correct float values but interpreted as integers. > > 1065353216 is the same as 1.0 in binary. > matrix.typecode () returns 'u' Don't know what type this is?? Numeric v22 added a few new data types. one of them is that 'u' for unsigned integers. the problem is that they rearranged the enumeration for data types (instead of adding the new types to the end). the result is that code compiled against Numeric v21 gets some funky typing problems when run against Numeric v22. anyways, without any actual testing or debugging on my end, i am guessing this is the problem. (call it 'speculative debugging', haha) |