Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gl_Position = projection * view * model * vec4(in_Position, 1.0);
- glm::perspective(glm::radians(fovy), (float)width/height, near, far)
- glm::lookAt(camera_pos, camera_pos + camera_front, camera_up)
Add Comment
Please, Sign In to add comment