Change axis order for transform rotate
This commit is contained in:
parent
30ea572a8e
commit
543af87238
@ -101,8 +101,8 @@ public class DefaultTransformParser extends InputParser<TransformExtent> {
|
|||||||
parent = affine = new AffineTransformExtent(parent, context.requireWorld().getWorldData().getBlockRegistry());
|
parent = affine = new AffineTransformExtent(parent, context.requireWorld().getWorldData().getBlockRegistry());
|
||||||
}
|
}
|
||||||
AffineTransform transform = affine.getAffine();
|
AffineTransform transform = affine.getAffine();
|
||||||
transform = transform.rotateY(x);
|
transform = transform.rotateX(x);
|
||||||
transform = transform.rotateX(y);
|
transform = transform.rotateY(y);
|
||||||
transform = transform.rotateZ(z);
|
transform = transform.rotateZ(z);
|
||||||
affine.setAffine(transform);
|
affine.setAffine(transform);
|
||||||
return (TransformExtent) parent;
|
return (TransformExtent) parent;
|
||||||
|
Loading…
Reference in New Issue
Block a user