Class AffineTransformations

java.lang.Object
gaiasky.scene.component.AffineTransformations
All Implemented Interfaces:
com.badlogic.ashley.core.Component

public class AffineTransformations extends Object implements com.badlogic.ashley.core.Component
  • Field Details

    • transformations

      public com.badlogic.gdx.utils.Array<ITransform> transformations
      Affine transformations, applied each cycle
  • Constructor Details

    • AffineTransformations

      public AffineTransformations()
  • Method Details

    • setTransformations

      public void setTransformations(Object[] transformations)
    • setTranslate

      public void setTranslate(double[] translation)
    • setRotate

      public void setRotate(double[] axisDegrees)
    • setScale

      public void setScale(double[] sc)
    • apply

      public com.badlogic.gdx.math.Matrix4 apply(com.badlogic.gdx.math.Matrix4 mat)
    • apply

      public Matrix4d apply(Matrix4d mat)