#ifndef MINECRAFT_RENDERER_CAMERA_H_
#define MINECRAFT_RENDERER_CAMERA_H_

#include "../common.hpp"

class Camera {
public:
	Camera();

	void UpdateView();
	glm::mat4 GetViewMatrix();
	glm::vec3 GetPos();

	void HandleMouse(SDL_Event e);
	void MoveCamera();
	void MouseMoved(glm::vec2 mouseDelta);

	float MouseSensitivity = 0.0009f;
	float CameraSpeed = 0.1f;

private:
	float roll, pitch, yaw;
	glm::vec3 eyeVector = {};
	glm::mat4 viewMatrix = {};
};

#endif
