FovHVHalves in tangent to NDC space.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final float[] | offset
Offset for x- and y-component. |
| pack-priv final float[] | scale
Scale for x- and y-component. |
| private static final float[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ScaleAndOffset2D(final FovHVHalves fovHVHalves)
Create the Normalized Device Coordinate Space (NDC) [-1,+1] instance
from the given |
| public | ScaleAndOffset2D(final FovHVHalves fovHVHalves, final DimensionImmutable rendertargetSize, final RectangleImmutable renderViewport)
Create the Normalized Device Coordinate Space (NDC) [-1,+1] instance
from the given |
| Modifier and Type | Method and Description |
|---|---|
| public final float[] | convertToTanFovSpace(final float[] rendertargetNDC)
Return the tangent FOV space of this eye to source NDC instance. |
| public String |
| offset | back to summary |
|---|---|
| pack-priv final float[] offset Offset for x- and y-component. | |
| scale | back to summary |
|---|---|
| pack-priv final float[] scale Scale for x- and y-component. | |
| vec2Half | back to summary |
|---|---|
| private static final float[] vec2Half | |
| ScaleAndOffset2D | back to summary |
|---|---|
| public ScaleAndOffset2D(final float[] scale, final float[] offset) | |
| ScaleAndOffset2D | back to summary |
|---|---|
| public ScaleAndOffset2D(final FovHVHalves fovHVHalves) Create the Normalized Device Coordinate Space (NDC) [-1,+1] instance
from the given | |
| ScaleAndOffset2D | back to summary |
|---|---|
| public ScaleAndOffset2D(final FovHVHalves fovHVHalves, final DimensionImmutable rendertargetSize, final RectangleImmutable renderViewport) Create the Normalized Device Coordinate Space (NDC) [-1,+1] instance
from the given | |
| convertToTanFovSpace | back to summary |
|---|---|
| public final float[] convertToTanFovSpace(final float[] rendertargetNDC) Return the tangent FOV space of this eye to source NDC instance. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |