Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.46 KB | None | 0 0
  1.  
  2.   // generic world to screen,
  3.   // derivate of ogc world to screen.
  4.   virtual bool __cdecl worldToScreen(vector_3d worldCoord, int *xy);
  5.   virtual bool __cdecl worldToScreen(vector_3d worldCoord, int *x, int *y);
  6.   virtual bool __cdecl worldToScreen(vector_3d worldCoord, vector_3d screenCoord /*z=0*/);
  7. public:
  8.   // must be updated to use worldToScreen
  9.   // info about your player
  10.   vector_3d actual_vieworg;
  11.   angles_3d actual_viewang;
  12.   float     actual_fov;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement