Advertisement
Masterchoc

Untitled

Jun 17th, 2019
432
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.16 KB | None | 0 0
  1. projection = glm::ortho(
  2.     (1.0f + distance) * aspect_ratio,
  3.     (-1.0f - distance) * aspect_ratio,
  4.     1.0f + distance,
  5.     -1.0f - distance,
  6.     -1000.0f,
  7.     1000.0f
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement