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 55537fb2af
commit e541b6d449

View file

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