Posted By

antonmills on 01/26/10


Tagged

positioning opengl vertex


Versions (?)

OpenGL Vertex3D


 / Published in: Other
 

A vertex3D struct for x/y/z of OpenGL objects

  1. static inline Vertex3D Vertex3DMake(CGFloat inX, CGFloat inY, CGFloat inZ)
  2. {
  3. Vertex3D ret;
  4. ret.x = inX;
  5. ret.y = inY;
  6. ret.z = inZ;
  7. return ret;
  8. }

Report this snippet  

You need to login to post a comment.