Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef _QCAR_PLANE_H_
- #define _QCAR_PLANE_H_
- #define NUM_PLANE_VERTEX 4
- #define NUM_PLANE_INDEX 6
- static const float planeVertices[NUM_PLANE_VERTEX * 3] =
- {
- -1.00f, -1.00f, 0.00f,
- 1.00f, -1.00f, 0.00f,
- 1.00f, 1.00f, 0.00f,
- -1.00f, 1.00f, 0.00f
- };
- static const float planeTexCoords[NUM_PLANE_VERTEX * 2] =
- {
- 0, 0,
- 1, 0,
- 1, 1,
- 0, 1
- };
- static const float planeNormals[NUM_PLANE_VERTEX * 3] =
- {
- 0, 0, 1,
- 0, 0, 1,
- 0, 0, 1,
- 0, 0, 1
- };
- static const unsigned short planeIndices[NUM_PLANE_INDEX] =
- {
- 0, 1, 2, 0, 2, 3
- };
- #endif // _QC_AR_PLANE_H_
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement