Posted By


antonmills on 01/26/10

Tagged


Statistics


Viewed 243 times
Favorited by 0 user(s)

OpenGL Vertex3D


/ Published in: Other
Save to your folder(s)

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


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.