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
|
@ -41,6 +41,12 @@ public class MatrixTransformStack implements TransformStack {
|
|||
internal.scale(factor, factor, factor);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TransformStack scale(float factorX, float factorY, float factorZ) {
|
||||
internal.scale(factorX, factorY, factorZ);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TransformStack push() {
|
||||
|
|
Loading…
Reference in a new issue