Class VariableTransformation

All Implemented Interfaces:
IVertexOperation, Copyable<Transformation>
Direct Known Subclasses:
SwapYZ

public abstract class VariableTransformation extends Transformation
  • Field Details

  • Constructor Details

    • VariableTransformation

      public VariableTransformation(Matrix4 mat)
  • Method Details

    • applyN

      public void applyN(Vector3 normal)
      Description copied from class: Transformation
      Applies this transformation to a normal (doesn't translate)
      Specified by:
      applyN in class Transformation
      Parameters:
      normal - The normal to transform
    • apply

      public void apply(Matrix4 mat)
      Description copied from class: Transformation
      Applies this transformation to a matrix as a multiplication on the right hand side.
      Specified by:
      apply in class Transformation
      Parameters:
      mat - The matrix to combine this transformation with
    • copy

      public Transformation copy()