com.io7m.r2.core

## Interface R2TransformViewReadableType

- All Superinterfaces:
    R2TransformReadableType
  All Known Subinterfaces:
    R2TransformOrthogonalReadableType, R2TransformOTReadableType, R2TransformOTType
  All Known Implementing Classes:
    R2TransformIdentity, R2TransformOT, R2TransformSOT, R2TransformST, R2TransformT

      public interface R2TransformViewReadableType
      extends R2TransformReadableType

  The type of readable transforms that can produce view matrices.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `<T extends R2SpaceType,U extends R2SpaceType> void` | `transformMakeViewMatrix4x4F(R2TransformContextType context, com.io7m.jtensors.parameterized.PMatrixWritable4x4FType<T,U> m)` Produce a view matrix for the transform.

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

      `transformGetWatchable, transformMakeMatrix4x4F`

- - ### Method Detail

    - #### transformMakeViewMatrix4x4F

          <T extends R2SpaceType,U extends R2SpaceType> void transformMakeViewMatrix4x4F(R2TransformContextType context,
                                                                                         com.io7m.jtensors.parameterized.PMatrixWritable4x4FType<T,U> m)

      Produce a view matrix for the transform. In this case, a view matrix is the view matrix required to place the observer at the transform's position, looking in the direction of the transform. In effect, this is the matrix resulting from the inverse of the transform.
      Type Parameters:
        `T` - The source coordinate system
        `U` - The target coordinate system
      Parameters:
        `context` - A transform context
        `m` - The output matrix

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