public interface R2MatricesType extends R2MatricesValuesType
Modifier and Type | Method and Description |
---|---|
<A,B> B |
withObserver(com.io7m.jtensors.core.parameterized.matrices.PMatrix4x4D<R2SpaceWorldType,R2SpaceEyeType> view,
R2ProjectionReadableType projection,
A x,
BiFunction<R2MatricesObserverType,A,B> f)
Evaluate matrices for the given observer.
|
<A,B> B withObserver(com.io7m.jtensors.core.parameterized.matrices.PMatrix4x4D<R2SpaceWorldType,R2SpaceEyeType> view, R2ProjectionReadableType projection, A x, BiFunction<R2MatricesObserverType,A,B> f)
A
- The type of consumed valuesB
- The type of returned valuesview
- The observer's view matrixprojection
- The observer's projectionf
- The function that will receive the evaluated matricesx
- A context value passed to f
B
Copyright © 2017 <code@io7m.com> http://io7m.com