Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- VIEW PROJ 0.001, 10.0, 45.0, 0.6(near, far, fov, ar)
- 1 0 0 0 2.414 0.0 0.0 0.0 2.414 0.0 0.0 0.0
- 0 1 0 0 x 0.0 1.449 0.0 0.0 = 0.0 1.449 0.0 0.0
- 0 0 -1 0 0.0 0.0 -1.0 -0.002 0.0 0.0 1.0 0.002
- 0 0 0 0 0.0 0.0 -1.0 0.0 0.0 0.0 -1.0 0.0
- and my vertices:
- const GLfloat v[28] = { //already a vbo no need to create
- //FRONT
- -0.5, 0.5, 0.0, 1.0, 0.6, 0.0, 0.0, // 0 red top left
- -0.5, -0.5, 0.0, 1.0, 0.0, 0.6, 0.0, // 1 green bottom left
- 0.5, 0.5, 0.0, 1.0, 0.0, 0.0, 0.6, // 2 blue top right
- 0.5, -0.5, 0.0, 1.0, 0.6, 0.6, 0.0 // 3 yellow bottom right
- };
- But I don't see anything onscreen
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement