@itwin/core-frontend 4.5.0-dev.32 → 4.5.0-dev.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -213,7 +213,7 @@ function trsMatrix(translation, rotation, scale, result) {
|
|
|
213
213
|
const rotTf = Transform.createRefs(undefined, rotation ? Matrix3d.createFromQuaternion(Point4d.create(rotation[0], rotation[1], rotation[2], rotation[3])) : Matrix3d.identity);
|
|
214
214
|
rotTf.matrix.transposeInPlace(); // See comment on Matrix3d.createFromQuaternion
|
|
215
215
|
const transTf = Transform.createTranslation(translation ? new Point3d(translation[0], translation[1], translation[2]) : Point3d.createZero());
|
|
216
|
-
const tf =
|
|
216
|
+
const tf = rotTf.multiplyTransformTransform(scaleTf, result);
|
|
217
217
|
transTf.multiplyTransformTransform(tf, tf);
|
|
218
218
|
return tf;
|
|
219
219
|
}
|