Add hack for oblique projection

parent 826e6724
......@@ -1015,7 +1015,7 @@ export function Projector () {
var normal = node.getNormal();
var point = node.getPointOnPlane();
var viewer = _camera.position;
var viewer = _camera._fakePosition || _camera.position;
var viewerSign = BSPTree.utils.getPointSign(normal, viewer, point);
var thisSign = this.getSign(normal, point);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment