espresso3d.engine.geometry
Class E3DPlane
java.lang.Object
espresso3d.engine.geometry.E3DPlane
- public class E3DPlane
- extends java.lang.Object
- Author:
- espresso3d
A plane class used in the engine
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
E3DPlane
public E3DPlane(E3DTriangle triangle)
getNormal
public E3DVector3F getNormal()
- Returns:
- Returns the normal.
setNormal
public void setNormal(E3DVector3F normal)
- Parameters:
normal - The normal to set.
getPoints
public E3DVector3F[] getPoints()
- Returns:
- Returns the points.
setPoints
public void setPoints(E3DVector3F[] points)
- Parameters:
points - The points to set.
reflectVector
public E3DVector3F reflectVector(E3DVector3F vectorToReflect)