public class Sphere
extends java.lang.Object
implements java.io.Serializable
public float radius
public final Vector3 center
public Sphere(Vector3 center, float radius)
center
- The centerradius
- The radiuspublic boolean overlaps(Sphere sphere)
sphere
- the other sphere