mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-12-28 16:06:28 +01:00
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:
parent
b85bf14ad9
commit
4fbb808832
1 changed files with 6 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue