com.io7m.r2.core

## Interface R2MatricesType

- All Superinterfaces:
    R2MatricesValuesType
  All Known Implementing Classes:
    R2Matrices

      public interface R2MatricesType
      extends R2MatricesValuesType

  Matrices.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `<A,B> B` | `withObserver(com.io7m.jtensors.parameterized.PMatrixReadable4x4FType<R2SpaceWorldType,R2SpaceEyeType> view, R2ProjectionReadableType projection, A x, BiFunction<R2MatricesObserverType,A,B> f)` Evaluate matrices for the given observer.

    - ### Methods inherited from interface com.io7m.r2.core.R2MatricesValuesType

      `transformContext`

- - ### Method Detail

    - #### withObserver

          <A,B> B withObserver(com.io7m.jtensors.parameterized.PMatrixReadable4x4FType<R2SpaceWorldType,R2SpaceEyeType> view,
                               R2ProjectionReadableType projection,
                               A x,
                               BiFunction<R2MatricesObserverType,A,B> f)

      Evaluate matrices for the given observer.
      Type Parameters:
        `A` - The type of consumed values
        `B` - The type of returned values
      Parameters:
        `view` - The observer's view matrix
        `projection` - The observer's projection
        `f` - The function that will receive the evaluated matrices
        `x` - A context value passed to `f`
      Returns:
        A value of `B`

Copyright © 2017 <code@io7m.com> http://io7m.com