Hi… does anyone have the source for GLU functions gluProject and gluUnProject???
I want to create float versions of them so I do not need to convert my matrices to double every frame. I made a float version of gluProject and it matches the results from the original double version. Here it is:
But can not find any info on how to implement gluUnProject. Any links for its definition or implementation in GLU???
I need this for a deferred shading demo … works ok when converting to double before gluUnProject but think a float version would be nice as I do not use double anywere else.