public final class R2ViewRays extends Object implements R2ViewRaysType
R2ViewRaysType interface.| Modifier and Type | Method and Description |
|---|---|
static R2ViewRaysType |
newViewRays(com.io7m.jtensors.parameterized.PMatrixM4x4F.ContextPM4F c)
Construct a new set of view rays.
|
com.io7m.jtensors.VectorReadable4FType |
originX0Y0() |
com.io7m.jtensors.VectorReadable4FType |
originX0Y1() |
com.io7m.jtensors.VectorReadable4FType |
originX1Y0() |
com.io7m.jtensors.VectorReadable4FType |
originX1Y1() |
com.io7m.jtensors.VectorReadable4FType |
rayX0Y0() |
com.io7m.jtensors.VectorReadable4FType |
rayX0Y1() |
com.io7m.jtensors.VectorReadable4FType |
rayX1Y0() |
com.io7m.jtensors.VectorReadable4FType |
rayX1Y1() |
void |
recalculate(com.io7m.jtensors.parameterized.PMatrixM4x4F.ContextPM4F c,
com.io7m.jtensors.parameterized.PMatrixReadable4x4FType<R2SpaceClipType,R2SpaceEyeType> m)
Recalculate the view rays given the inverse projection matrix
m. |
public static R2ViewRaysType newViewRays(com.io7m.jtensors.parameterized.PMatrixM4x4F.ContextPM4F c)
c - Preallocated storage for matrix operationspublic void recalculate(com.io7m.jtensors.parameterized.PMatrixM4x4F.ContextPM4F c,
com.io7m.jtensors.parameterized.PMatrixReadable4x4FType<R2SpaceClipType,R2SpaceEyeType> m)
R2ViewRaysTypem.recalculate in interface R2ViewRaysTypec - Preallocated storage for matrix operationsm - An inverse projection matrixpublic com.io7m.jtensors.VectorReadable4FType originX0Y0()
originX0Y0 in interface R2ViewRaysReadableTypepublic com.io7m.jtensors.VectorReadable4FType originX0Y1()
originX0Y1 in interface R2ViewRaysReadableTypepublic com.io7m.jtensors.VectorReadable4FType originX1Y0()
originX1Y0 in interface R2ViewRaysReadableTypepublic com.io7m.jtensors.VectorReadable4FType originX1Y1()
originX1Y1 in interface R2ViewRaysReadableTypepublic com.io7m.jtensors.VectorReadable4FType rayX0Y0()
rayX0Y0 in interface R2ViewRaysReadableTypepublic com.io7m.jtensors.VectorReadable4FType rayX0Y1()
rayX0Y1 in interface R2ViewRaysReadableTypepublic com.io7m.jtensors.VectorReadable4FType rayX1Y0()
rayX1Y0 in interface R2ViewRaysReadableTypepublic com.io7m.jtensors.VectorReadable4FType rayX1Y1()
rayX1Y1 in interface R2ViewRaysReadableTypeCopyright © 2016 <code@io7m.com> http://io7m.com