Class threedee.Plane
A plane is an infinite two-dimensional object in space. It is defined by
a normal vector and a distance. If is used to specify the clipping planes
in the view frustum.
Defined in: Plane.js.
Constructor Attributes | Constructor Name and Description |
---|---|
threedee.Plane(normal, distance)
Constructs a new plane.
|
Method Attributes | Method Name and Description |
---|---|
Returns the plane distance
|
|
Returns the plane normal.
|
Class Detail
threedee.Plane(normal, distance)
Constructs a new plane.
- Parameters:
- {!threedee.Vector} normal
- The plane normal.
- {number} distance
- The plane distance.
Method Detail
{number}
getDistance()
Returns the plane distance
- Returns:
- {number} The plane distance
{!threedee.Vector}
getNormal()
Returns the plane normal.
- Returns:
- {!threedee.Vector} The plane normal