Module math

Class UniformScale

All Implemented Interfaces:
Transform2D, Transform3D, Manageable, Shareable

public final class UniformScale extends ShareableBase implements Transform2D, Transform3D
  • Field Details

  • Constructor Details

    • UniformScale

      public UniformScale()
    • UniformScale

      public UniformScale(float scale)
  • Method Details

    • getManageableType

      public ManageableType getManageableType()
      Specified by:
      getManageableType in interface Manageable
    • getScale

      public float getScale()
    • setScale

      public void setScale(float value)
    • transform

      public void transform(Matrix3d in, Matrix3d out)
      Specified by:
      transform in interface Transform2D
    • transform

      public void transform(Matrix4d in, Matrix4d out)
      Description copied from interface: Transform3D
      This methods performs a local coordinate transformation.
      Specified by:
      transform in interface Transform3D
      Parameters:
      in - the transformation matrix of the coordinate system of the parent
      out - the computed transformation is placed in here. May be the same reference as in