public interface R2MatricesObserverType extends R2MatricesObserverValuesType
Modifier and Type | Method and Description |
---|---|
<A,B> B |
withProjectiveLight(R2LightProjectiveReadableType t,
A x,
BiFunction<R2MatricesProjectiveLightType,A,B> f)
Evaluate matrices for a given projective light, relative to the current
observer.
|
<A,B> B |
withTransform(R2TransformReadableType t,
com.io7m.jtensors.core.parameterized.matrices.PMatrix3x3D<R2SpaceTextureType,R2SpaceTextureType> uv,
A x,
BiFunction<R2MatricesInstanceSingleType,A,B> f)
Evaluate matrices for a given transform, relative to the current observer.
|
<A,B> B |
withVolumeLight(R2LightVolumeSingleReadableType t,
A x,
BiFunction<R2MatricesVolumeLightType,A,B> f)
Evaluate matrices for a given volume light, relative to the current
observer.
|
matrixProjection, matrixProjectionInverse, matrixView, matrixViewInverse, projection, viewRays
<A,B> B withTransform(R2TransformReadableType t, com.io7m.jtensors.core.parameterized.matrices.PMatrix3x3D<R2SpaceTextureType,R2SpaceTextureType> uv, A x, BiFunction<R2MatricesInstanceSingleType,A,B> f) throws R2Exception
A
- The type of consumed valuesB
- The type of returned valuest
- The transformuv
- The UV matrixf
- The function that will receive matricesx
- A context value passed to f
B
R2Exception
- If f
raises R2Exception
<A,B> B withProjectiveLight(R2LightProjectiveReadableType t, A x, BiFunction<R2MatricesProjectiveLightType,A,B> f) throws R2Exception
A
- The type of consumed valuesB
- The type of returned valuest
- The lightf
- The function that will receive matricesx
- A context value passed to f
B
R2Exception
- If f
raises R2Exception
<A,B> B withVolumeLight(R2LightVolumeSingleReadableType t, A x, BiFunction<R2MatricesVolumeLightType,A,B> f) throws R2Exception
A
- The type of consumed valuesB
- The type of returned valuest
- The lightf
- The function that will receive matricesx
- A context value passed to f
B
R2Exception
- If f
raises R2Exception
Copyright © 2017 <code@io7m.com> http://io7m.com