initial commit

This commit is contained in:
Confideo-IOM
2026-07-17 15:30:29 +01:00
commit 7e8ec5a825
416 changed files with 40308 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#ifndef HYDRACAMERA
#define HYDRACAMERA
#include "../engine/HydraObject.h"
#include <GLMIncludes.h>
class CLASS_DEFINE HydraCamera : public HydraObject
{
private:
glm::vec4 m_right = glm::vec4(1, 0, 0, 1);
glm::vec4 m_up = glm::vec4(0, 1, 0, 1);
glm::vec4 m_forward = glm::vec4(0, 0, -1, 1);
HydraID m_attached_actor = INVALID_HYDRA_ID;
public:
glm::mat4x4 GetView();
glm::mat4x4 GetProjection();
glm::mat4x4 GetOrthoProjection();
HydraID GetAttachedActor() {return m_attached_actor;}
glm::vec3 GetPosition();
void AttachToActor(HydraID actorID);
};
#endif /* HYDRACAMERA */