Class Plane


  • public class Plane
    extends java.lang.Object
    Mathematical representation of a plane with an infinite size. Used for intersection tests.
    • Method Detail

      • setCenter

        public void setCenter​(Vector3 center)
      • getCenter

        public Vector3 getCenter()
      • setNormal

        public void setNormal​(Vector3 normal)
      • getNormal

        public Vector3 getNormal()
      • rayIntersection

        public boolean rayIntersection​(Ray ray,
                                       RayHit result)