Guest User

Untitled

a guest
Nov 19th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. gl_Position = projection * view * model * vec4(in_Position, 1.0);
  2.  
  3. glm::perspective(glm::radians(fovy), (float)width/height, near, far)
  4.  
  5. glm::lookAt(camera_pos, camera_pos + camera_front, camera_up)
Add Comment
Please, Sign In to add comment