Fix ".applyProjection() has been removed."
This commit is contained in:
parent
9e49826865
commit
ecee3be650
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ const {unproject} = (function unprojectFunction() {
|
|||
|
||||
initialized = initialized || initialize(THREE);
|
||||
|
||||
vector.applyProjection(matrix.getInverse(threeCamera.projectionMatrix));
|
||||
vector.applyMatrix4(matrix.getInverse(threeCamera.projectionMatrix));
|
||||
|
||||
return localToWorld(THREE, threeCamera, vector);
|
||||
|
||||
|
|
Loading…
Reference in a new issue