forked from Dynamitos/Seele
Reverting to 32 bit indices
This commit is contained in:
1 parent
7a713afdb4
commit
cde48f0d15
9 files changed
+29
-26
No files matched your search
@@ -10,15 +10,15 @@ namespace Component
|
||||
struct ShapeBase
|
||||
{
|
||||
ShapeBase();
|
||||
ShapeBase(Array<Vector> vertices, Array<uint16> indices);
|
||||
ShapeBase(Array<Vector> vertices, Array<uint32> indices);
|
||||
ShapeBase transform(const Component::Transform& transform) const;
|
||||
void addCollider(Array<Vector> vertices, Array<uint16> indices, Matrix4 matrix);
|
||||
void addCollider(Array<Vector> vertices, Array<uint32> indices, Matrix4 matrix);
|
||||
void visualize() const;
|
||||
Vector centerOfMass;
|
||||
float mass;
|
||||
Matrix3 bodyInertia;
|
||||
Array<Vector> vertices;
|
||||
Array<uint16> indices;
|
||||
Array<uint32> indices;
|
||||
};
|
||||
} // namespace Component
|
||||
} // namespace Seele
|
||||
Reference in new issue
Block a user