1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-23 12:37:45 +00:00

renderer: Add position property to RenderModel

This commit is contained in:
Joshua Goins 2024-02-02 14:26:33 -05:00
parent 883169762a
commit af8582467b

View file

@ -46,6 +46,7 @@ struct RenderModel {
std::vector<RenderPart> parts; std::vector<RenderPart> parts;
std::array<glm::mat4, 128> boneData; std::array<glm::mat4, 128> boneData;
std::vector<RenderMaterial> materials; std::vector<RenderMaterial> materials;
glm::vec3 position;
uint16_t from_body_id = 101; uint16_t from_body_id = 101;
uint16_t to_body_id = 101; uint16_t to_body_id = 101;