// create an adjacency list for the dual hull
dualadjacent = adjacencyList(dualhull.getFaces(), dualvertices.size());
// perform approximate mass calculation
MassProperties masscalculation = new MassProperties( this, 0.05 );
// set propperties
mass = referenceMass = masscalculation.getMass();
inertiamatrix = new InertiaMatrix(masscalculation.getInertiaMatrix());
centreOfMass = masscalculation.getCentreOfMass();
// align all vertices and faces to centre of mass coordinates
for ( Vector3 p: vertices)
Vector3.add( p, centreOfMass.multiply(-1) );