Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- camProjection = XMMatrixPerspectiveFovLH(0.4f * 3.14f, (float)SCREEN_WIDTH/SCREEN_HEIGHT, 1.0f, 1000.0f);
- camProjection2D = XMMatrixOrthographicOffCenterLH(.0f, SCREEN_WIDTH, SCREEN_HEIGHT, .0f, 0.0f, 1000.0f);
- Texture coords: (x, y, z, u, v)
- Vertex( 0.0f, 0.0f, -1.0f, 0.0f, 1.0f),
- Vertex( 0.0f, 20.0f, -1.0f, 0.0f, 0.0f),
- Vertex(20.0f, 20.0f, -1.0f, 1.0f, 0.0f),
- Vertex(20.0f, 0.0f, -1.0f, 1.0f, 1.0f),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement