Vector3 v0 = vertices.get(indices[indices.length - 1]).vectorFromOrigin();
Vector3 v1;
Vector3 r = Vector3.ZERO;
for (int i = 0; i < indices.length; i++) {
v1 = vertices.get(indices[i]).vectorFromOrigin();
r = r.plus(v0.cross(v1));
v0 = v1;
}
area = 0.5 * Math.abs(n.dot(r));
}
}