We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf074dd commit ca1a503Copy full SHA for ca1a503
1 file changed
include/camera.h
@@ -14,12 +14,12 @@ struct Camera {
14
15
glm::mat4 GetViewMatrix();
16
void UpdatePosition(MoveDirection direction, float delta_ms);
17
- glm::vec3 position = glm::vec3(0.0f, 0.0f, -1.0f);
+ glm::vec3 position = glm::vec3(0.0f, 0.0f, 3.0f);
18
19
void UpdatePointingDirection(float delta_x, float delta_y);
20
21
// noramlized vector for where the camera is currently pointing
22
- glm::vec3 pointing_at = glm::vec3(0.0f, 0.0f, 1.0f);
+ glm::vec3 pointing_at = glm::vec3(0.0f, 0.0f, -1.0f);
23
float fov = glm::radians(45.0f);
24
25
// Camera angles in degrees
0 commit comments