Files
HydraV3/HydraEngine/source/ecs/components/HydraMeshComponent.h
T
2026-09-22 15:22:41 +01:00

21 lines
419 B
C

#ifndef HYDRAECSMESHCOMPONENT
#define HYDRAECSMESHCOMPONENT
#include "../../engine/HydraObject.h"
#include <GLMIncludes.h>
struct HydraMeshComponent
{
HydraID mesh_id = INVALID_HYDRA_ID;
HydraID vertex_buffer_id = INVALID_HYDRA_ID;
HYDRA_STATE mesh_state = HYDRA_STATE::Empty;
glm::vec3 origin {};
glm::vec3 extent {};
bool render = true;
};
#endif /* HYDRAECSMESHCOMPONENT */