mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-12-01 07:03:52 +01:00
Possibly fixes #422
This commit is contained in:
parent
4d09354bd4
commit
2c119c468c
@ -275,14 +275,14 @@ public class AffineTransform implements Transform {
|
||||
// vector.getX() * m00 + vector.getY() * m01 + vector.getZ() * m02 + m03
|
||||
// vector.getX() * m10 + vector.getY() * m11 + vector.getZ() * m12 + m13
|
||||
// vector.getX() * m20 + vector.getY() * m21 + vector.getZ() * m22 + m23
|
||||
mutable.mutX((vector.getX() * m00 + vector.getY() * m01 + vector.getZ() * m02 + m03));
|
||||
mutable.mutY((vector.getX() * m10 + vector.getY() * m11 + vector.getZ() * m12 + m13));
|
||||
mutable.mutZ((vector.getX() * m20 + vector.getY() * m21 + vector.getZ() * m22 + m23));
|
||||
return mutable;
|
||||
// return new Vector(
|
||||
// vector.getX() * m00 + vector.getY() * m01 + vector.getZ() * m02 + m03,
|
||||
// vector.getX() * m10 + vector.getY() * m11 + vector.getZ() * m12 + m13,
|
||||
// vector.getX() * m20 + vector.getY() * m21 + vector.getZ() * m22 + m23);
|
||||
return new Vector(
|
||||
vector.getX() * m00 + vector.getY() * m01 + vector.getZ() * m02 + m03,
|
||||
vector.getX() * m10 + vector.getY() * m11 + vector.getZ() * m12 + m13,
|
||||
vector.getX() * m20 + vector.getY() * m21 + vector.getZ() * m22 + m23);
|
||||
// mutable.mutX((vector.getX() * m00 + vector.getY() * m01 + vector.getZ() * m02 + m03));
|
||||
// mutable.mutY((vector.getX() * m10 + vector.getY() * m11 + vector.getZ() * m12 + m13));
|
||||
// mutable.mutZ((vector.getX() * m20 + vector.getY() * m21 + vector.getZ() * m22 + m23));
|
||||
// return mutable;
|
||||
}
|
||||
|
||||
public AffineTransform combine(AffineTransform other) {
|
||||
|
Loading…
Reference in New Issue
Block a user