Modifier and Type | Field and Description |
---|---|
float |
d
Distance to origin
|
float[] |
n
Normal of the plane
|
Constructor and Description |
---|
Frustum.Plane() |
Modifier and Type | Method and Description |
---|---|
float |
distanceTo(float[] p)
Return distance of plane to given point, see
distanceTo(float, float, float) . |
float |
distanceTo(float x,
float y,
float z)
Return signed distance of plane to given point.
|
String |
toString() |
public final float distanceTo(float x, float y, float z)
Positive halfspace is where the plane’s normals vector points into.
Negative halfspace is the other side of the plane, i.e. *-1
public final float distanceTo(float[] p)
distanceTo(float, float, float)
.Copyright 2010 JogAmp Community.