return bound.getBoundingBox();
}
public Sphere boundingSphere() {
Box3 box = boundingBox();
return new Sphere(box.center(), box.diagonal() / 2.0);
}
public void intersect(final Ray3 ray, IntersectionRecorder recorder) {
for (int i = 0; i < vertices.length - 3; i++) {
final double t = GeometryUtil.rayIntersectTriangle(ray, vertices[i], vertices[i+1], vertices[i+2]);