Crimson Engine 1.0.0
A high-performance C++20 game engine prototype showcasing a custom ECS, Vulkan renderer, and ImGui editor.
Loading...
Searching...
No Matches
inputComponent.hpp
Go to the documentation of this file.
1#pragma once
2#include <glm/glm.hpp>
3
8// [ReflectClass]
10 // [ReflectField]
11 glm::vec3 movement{ 0 }; // forward/back, left/right, up/down
12 // [ReflectField]
13 glm::vec2 look{ 0 }; // mouse delta
14};
15
16
19
#define REGISTER_COMPONENT(Type, MenuPath)
Definition ComponentReflection.hpp:156
Component representing input state for an entity (e.g., player or camera).
Definition inputComponent.hpp:9
glm::vec2 look
Definition inputComponent.hpp:13
glm::vec3 movement
Definition inputComponent.hpp:11