Skip to content

Commit

Permalink
fix(test): update a deprecated method call
Browse files Browse the repository at this point in the history
  • Loading branch information
mgermerie authored and gchoqueux committed Dec 4, 2020
1 parent 2726101 commit 497d55e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/obb.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function assertVerticesAreInOBB(builder, extent) {

newTileGeometry(builder, params).then((result) => {
const geom = result.geometry;
const inverse = new THREE.Matrix4().getInverse(geom.OBB.matrix);
const inverse = new THREE.Matrix4().copy(geom.OBB.matrix).invert();

let failing = 0;
const vec = new THREE.Vector3();
Expand Down

0 comments on commit 497d55e

Please sign in to comment.