@EqualityStructural public final class KProjectionOrthographic extends Object implements KProjectionType
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
static KProjectionOrthographic |
newProjection(com.io7m.jtensors.parameterized.PMatrixM4x4F<RSpaceEyeType,RSpaceClipType> temporary,
float in_x_min,
float in_x_max,
float in_y_min,
float in_y_max,
float in_z_near,
float in_z_far)
Construct a new orthographic projection.
|
<T,E extends Exception> |
projectionAccept(KProjectionVisitorType<T,E> v)
Accept a generic visitor.
|
com.io7m.jtensors.parameterized.PMatrixI4x4F<RSpaceEyeType,RSpaceClipType> |
projectionGetMatrix() |
float |
projectionGetXMaximum() |
float |
projectionGetXMinimum() |
float |
projectionGetYMaximum() |
float |
projectionGetYMinimum() |
float |
projectionGetZFar() |
float |
projectionGetZNear() |
public static KProjectionOrthographic newProjection(com.io7m.jtensors.parameterized.PMatrixM4x4F<RSpaceEyeType,RSpaceClipType> temporary, float in_x_min, float in_x_max, float in_y_min, float in_y_max, float in_z_near, float in_z_far)
temporary
- A temporary matrix.in_x_min
- The minimum X value on the near plane.in_x_max
- The maximum X value on the near plane.in_y_min
- The minimum Y value on the near plane.in_y_max
- The maximum Y value on the near plane.in_z_near
- The distance to the near plane.in_z_far
- The distance to the far plane.public <T,E extends Exception> T projectionAccept(KProjectionVisitorType<T,E> v) throws RException, E extends Exception
KProjectionType
projectionAccept
in interface KProjectionType
T
- The type of returned values.E
- The type of raised exceptions.v
- The visitor.RException
- If the visitor throws RException
.E
- If the visitor throws E
.E extends Exception
public com.io7m.jtensors.parameterized.PMatrixI4x4F<RSpaceEyeType,RSpaceClipType> projectionGetMatrix()
projectionGetMatrix
in interface KProjectionType
public float projectionGetXMaximum()
projectionGetXMaximum
in interface KProjectionType
public float projectionGetXMinimum()
projectionGetXMinimum
in interface KProjectionType
public float projectionGetYMaximum()
projectionGetYMaximum
in interface KProjectionType
public float projectionGetYMinimum()
projectionGetYMinimum
in interface KProjectionType
public float projectionGetZFar()
projectionGetZFar
in interface KProjectionType
public float projectionGetZNear()
projectionGetZNear
in interface KProjectionType
Copyright © 2015 <code@io7m.com> http://io7m.com