gophergfx
    Preparing search index...

    Class Plane3

    Index
    • Constructs a new Plane object

      Parameters

      • point: Vector3 = ...

        The point on the plane (defaults to Vector3(0, 0, 0))

      • normal: Vector3 = ...

        The normal vector of the plane (defaults to Vector3(0, 0, -1))

      Returns Plane3

    normal: Vector3
    point: Vector3
    • Returns the closest point on the plane to the point provided

      Parameters

      Returns Vector3

      The closest point to the input that lies within the Plane

    • Calculates the distance between a point and this Plane

      Parameters

      • point: Vector3

        The point to calculate the distance to

      Returns number

      The distance between the point and this Plane