mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-10 20:45:59 +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
55537fb2af
commit
e541b6d449
@ -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 New Issue
Block a user