/ Published in: Other
A C struct that supports 3 Vertex3D for use with OpenGL triangles
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
typedef struct { Vertex3D v1; Vertex3D v2; Vertex3D v3; } Triangle3D;
typedef struct { Vertex3D v1; Vertex3D v2; Vertex3D v3; } Triangle3D;