Fix ".applyProjection() has been removed."

This commit is contained in:
Luke 2018-03-07 12:34:49 -05:00
parent 9e49826865
commit ecee3be650

View file

@ -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);