added orbiting camera
This commit is contained in:
parent
839f5253f5
commit
4dc3079fe8
5 changed files with 88 additions and 28 deletions
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include "backend/Camera.hpp"
|
||||
#include "OrbitingCamera.hpp"
|
||||
#include "Plot3D.hpp"
|
||||
|
||||
struct GLFWwindow;
|
||||
|
@ -42,9 +42,8 @@ private:
|
|||
GLFWwindow* window = nullptr;
|
||||
WindowData data;
|
||||
|
||||
Camera camera;
|
||||
OrthogonalCamera orthoCam;
|
||||
CameraBase* activeCamera;
|
||||
OrbitingCamera camera;
|
||||
float pitch, yaw;
|
||||
|
||||
glm::vec3 cubeOrientation, cubePosition, cubeScale;
|
||||
Plot3D* plot;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue