Advertisement
Guest User

Untitled

a guest
Aug 20th, 2014
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. camProjection = XMMatrixPerspectiveFovLH(0.4f * 3.14f, (float)SCREEN_WIDTH/SCREEN_HEIGHT, 1.0f, 1000.0f);
  2. camProjection2D = XMMatrixOrthographicOffCenterLH(.0f, SCREEN_WIDTH, SCREEN_HEIGHT, .0f, 0.0f, 1000.0f);
  3.  
  4. Texture coords: (x, y, z, u, v)
  5. Vertex( 0.0f, 0.0f, -1.0f, 0.0f, 1.0f),
  6. Vertex( 0.0f, 20.0f, -1.0f, 0.0f, 0.0f),
  7. Vertex(20.0f, 20.0f, -1.0f, 1.0f, 0.0f),
  8. Vertex(20.0f, 0.0f, -1.0f, 1.0f, 1.0f),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement