Quote Originally Posted by JSoftware
glfloat is specified in the opengl.pas unit. it's just a single

type
glfloat = single;


nice work, jernejl. i couldn't get my projectivematrix to work until i realized by looking at your code that i had the code from a directx article on msdn ops: Had to transpose first...

EDIT: gluproject, gluunproject, gluortho2d, glubuild2dmipmaps, gluscaleimage enough to work on
i don't really know how that matrix glulookat works i took the opengl sample implementation source code from http://oss.sgi.com/projects/ogl-sample/ and translated it, i might consider translating some other functions as well now.

i had done some delphi-glu translating before using mesa code but that was much different and wierder and never worked