animatable types

This commit is contained in:
devZoGok
2022-03-26 15:46:29 +02:00
parent ab9bb1f0e3
commit 910833cc4d
14 changed files with 47 additions and 17 deletions
+7
View File
@@ -17,6 +17,13 @@ namespace vb01{
}
}
MeshData::ShapeKey::ShapeKey(string name, float value, float minValue, float maxValue) : Animatable(Animatable::SHAPE_KEY, name){
this->name = name;
this->value = value;
this->minValue = minValue;
this->maxValue = maxValue;
}
MeshData::MeshData(Vertex *vertices, u32 *indices, int numTris, string *vertexGroups, int numVertexGroups, string fullSkeletonName, ShapeKey *shapeKeys, int numShapeKeys){
this->vertices = vertices;
this->indices = indices;