Added 3 parameter scaling function

Simply adds a 3 parameter function to to MatrixTransformStack so a matrix can be scaled on different axis
This commit is contained in:
MehVahdJukaar 2021-08-25 20:21:33 +02:00 committed by GitHub
parent b85bf14ad9
commit 4fbb808832
Failed to generate hash of commit

View file

@ -42,6 +42,12 @@ public class MatrixTransformStack implements TransformStack {
return this;
}
@Override
public TransformStack scale(float factorX, float factorY, float factorZ) {
internal.scale(factorX, factorY, factorZ);
return this;
}
@Override
public TransformStack push() {
internal.pushPose();