java.lang.Object
dev.thorinwasher.blockanimator.api.blockanimations.transformation.ResizeTransformation
All Implemented Interfaces:
BlockTransformation

public class ResizeTransformation extends Object implements BlockTransformation
  • Constructor Details

    • ResizeTransformation

      public ResizeTransformation(float from, float to, Function<Double,Double> pathCompletionSupplier)
    • ResizeTransformation

      public ResizeTransformation(float from, float to)
  • Method Details

    • getTransform

      @NotNull public @NotNull org.joml.Matrix4f getTransform(double pathCompletion)
      Specified by:
      getTransform in interface BlockTransformation