why would GLU.gluUnproject return NaN's

Started by Eternity, October 17, 2009, 15:11:44

Previous topic - Next topic

Eternity

Hey!

under what circumstances whould GLU.gluUnproject cause the results floatBufferto contain NaN's (Not a Number)

ive rewritten the part of my engine that determines the 3D position of the 2D mouse cursor and for some reason my gluUnproject just keeps on giving me NaN and i cant find anything wrong with the arguments i use. maybe im just missing something obvious... if i knew why GLU.gluUnproject would do that il be able to find my problem much easier (i think) :P

Thnx in Advance!

EDIT: the method itself still returns true so it didn't fail.

Eternity

i found my problem. Thnx for reading anyway.

Fool Running

Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option ;D