MGS 2
12-03-2003, 11:13 AM
MGS 2 Member since: 11/30/2003 From: Egypt
Posted - 3 December 2003 2:32:55 PM
Here is the gluproject function :
GL.gluProject (xposition ,yposition,positionz,modelview,projection,viewport ,out x,out y,out zdepth); // c# using csgl
now the question is how to use this function to determine the x , y and zdepth positions ; what is xposition , yposition and position z refers to ; is it referes to any verix on my drawn object that consist of many vertices and it is automatically gets the center coordinate x,y,z of my created object or What !!! please help me
Posted - 3 December 2003 2:32:55 PM
Here is the gluproject function :
GL.gluProject (xposition ,yposition,positionz,modelview,projection,viewport ,out x,out y,out zdepth); // c# using csgl
now the question is how to use this function to determine the x , y and zdepth positions ; what is xposition , yposition and position z refers to ; is it referes to any verix on my drawn object that consist of many vertices and it is automatically gets the center coordinate x,y,z of my created object or What !!! please help me