| Package | Description |
|---|---|
| com.io7m.r2.core |
Core types and functions.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
R2ProjectionType
The type of mutable projections.
|
| Modifier and Type | Class and Description |
|---|---|
class |
R2ProjectionFOV
A perspective projection based on a given field of view and aspect ratio.
|
class |
R2ProjectionFrustum
A perspective projection based on an explicit frustum.
|
class |
R2ProjectionOrthographic
An orthographic projection.
|
| Modifier and Type | Method and Description |
|---|---|
R2ProjectionReadableType |
R2MatricesObserverValuesType.projection() |
R2ProjectionReadableType |
R2LightProjectiveWithoutShadow.projection() |
R2ProjectionReadableType |
R2LightProjectiveWithShadowVariance.projection() |
R2ProjectionReadableType |
R2LightProjectiveReadableType.projection() |
R2ProjectionReadableType |
R2ProjectionMeshReadableType.projectionReadable() |
R2ProjectionReadableType |
R2ProjectionMesh.projectionReadable() |
| Modifier and Type | Method and Description |
|---|---|
R2WatchableType<R2ProjectionReadableType> |
R2ProjectionReadableType.projectionGetWatchable() |
R2WatchableType<R2ProjectionReadableType> |
R2ProjectionOrthographic.projectionGetWatchable() |
R2WatchableType<R2ProjectionReadableType> |
R2ProjectionFrustum.projectionGetWatchable() |
R2WatchableType<R2ProjectionReadableType> |
R2ProjectionFOV.projectionGetWatchable() |
| Modifier and Type | Method and Description |
|---|---|
static double |
R2Projections.getDepthCoefficient(R2ProjectionReadableType p)
Calculate a depth coefficient for the given projection.
|
<A,B> B |
R2MatricesType.withObserver(com.io7m.jtensors.parameterized.PMatrixReadable4x4FType<R2SpaceWorldType,R2SpaceEyeType> view,
R2ProjectionReadableType projection,
A x,
BiFunction<R2MatricesObserverType,A,B> f)
Evaluate matrices for the given observer.
|
<A,B> B |
R2Matrices.withObserver(com.io7m.jtensors.parameterized.PMatrixReadable4x4FType<R2SpaceWorldType,R2SpaceEyeType> view,
R2ProjectionReadableType projection,
A x,
BiFunction<R2MatricesObserverType,A,B> f) |
Copyright © 2016 <code@io7m.com> http://io7m.com