Add Deformable material domain

This commit is contained in:
2021-02-08 15:44:38 +01:00
parent 5a561b1278
commit da784e98e5
13 changed files with 685 additions and 9 deletions
+1 -1
View File
@@ -350,7 +350,7 @@ bool Mesh::Intersects(const Ray& ray, const Matrix& world, float& distance, Vect
#endif
}
void Mesh::GetDrawCallGeometry(DrawCall& drawCall)
void Mesh::GetDrawCallGeometry(DrawCall& drawCall) const
{
drawCall.Geometry.IndexBuffer = _indexBuffer;
drawCall.Geometry.VertexBuffers[0] = _vertexBuffers[0];