(-this.centreOfMass.y * scaleBy), -this.centreOfMass.z
* scaleBy);
for (int i = 0; i < indexVertexArrays.getNumSubParts(); i++) {
VertexData vd = indexVertexArrays
.getLockedReadOnlyVertexIndexBase(i);
for (int t = 0; t < vd.getIndexCount() / 3; t++) {
Vector3f[] triangle = new Vector3f[] { new Vector3f(),
new Vector3f(), new Vector3f() };
Vector3f scale = new Vector3f(1 / GLOBAL.jBullet.scale, -1
/ GLOBAL.jBullet.scale, 1 / GLOBAL.jBullet.scale);
vd.getTriangle(t * 3, scale, triangle);
g.stroke(255, 0, 0);
g.beginShape();
g.vertex(triangle[0].x, triangle[0].y, triangle[0].z);
g.vertex(triangle[1].x, triangle[1].y, triangle[1].z);
g.vertex(triangle[2].x, triangle[2].y, triangle[2].z);