1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-24 21:07:46 +00:00

renderer: Add from_body_id and to_body_id parameters to RenderModel

This will be used in the future for model deformation.
This commit is contained in:
Joshua Goins 2023-10-13 14:59:28 -04:00
parent 94e841c1b7
commit b5b83e1b83

View file

@ -47,6 +47,9 @@ struct RenderModel {
std::array<glm::mat4, 128> boneData;
std::vector<RenderMaterial> materials;
uint16_t from_body_id = 101;
uint16_t to_body_id = 101;
VkBuffer boneInfoBuffer = VK_NULL_HANDLE;
VkDeviceMemory boneInfoMemory = VK_NULL_HANDLE;
};