|
|
|
|
@ -160,8 +160,6 @@ struct Transforms
|
|
|
|
|
const float DEFAULT_FOV = 60.f; |
|
|
|
|
const float NEAR_CLIP_PLANE = 5.f; |
|
|
|
|
const float DEFAULT_ASPECT_RATIO = 16.f / 9.f; |
|
|
|
|
const glm::vec3 DEFAULT_CAM_POS = { 0, 0, 50.f }; |
|
|
|
|
const glm::vec3 DEFAULT_LOOK_POS = { 0, 0, 0 }; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GLContext* initGLContext(MemoryArena* arena, |
|
|
|
|
@ -213,7 +211,5 @@ void initTransforms(MemoryArena* arena,
|
|
|
|
|
GLContext* gl_ctx, |
|
|
|
|
float fov = DEFAULT_FOV, |
|
|
|
|
float near_clip_plane = NEAR_CLIP_PLANE, |
|
|
|
|
float aspect_ratio = DEFAULT_ASPECT_RATIO, |
|
|
|
|
glm::vec3 cam_pos = DEFAULT_CAM_POS, |
|
|
|
|
glm::vec3 look_pos = DEFAULT_LOOK_POS); |
|
|
|
|
float aspect_ratio = DEFAULT_ASPECT_RATIO); |
|
|
|
|
|
|
|
|
|
|