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