fixes
This commit is contained in:
21
include/scene/camera.hpp
Executable file
21
include/scene/camera.hpp
Executable file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include "scene/camera_view.hpp"
|
||||
|
||||
class camera {
|
||||
public:
|
||||
virtual ~camera() = default;
|
||||
|
||||
virtual void update(
|
||||
float time_delta,
|
||||
glm::vec2 mouse_pos_delta,
|
||||
float mouse_wheel_delta,
|
||||
camera_view& view
|
||||
) = 0;
|
||||
|
||||
virtual void look_at(
|
||||
const glm::vec3& origin,
|
||||
const glm::vec3& target,
|
||||
camera_view& view
|
||||
) = 0;
|
||||
};
|
||||
Reference in New Issue
Block a user