Commit 8740aa93 authored by Evgeny's avatar Evgeny

Rename isIntersectionBox() to .intersectsBox

parent 45d1a027
......@@ -9,11 +9,12 @@ import THREE from 'three.js';
var i, l, o; // counters
export class RenderableObject{
constructor(){
this.id = 0;
this.id = 0;
this.object = null;
this.z = 0;
this.object = null;
this.z = 0;
}
};
......@@ -238,7 +239,7 @@ export function Projector () {
_points3[ 1 ] = v2.positionScreen;
_points3[ 2 ] = v3.positionScreen;
return _clipBox.isIntersectionBox( _boundingBox.setFromPoints( _points3 ) );
return _clipBox.intersectsBox( _boundingBox.setFromPoints( _points3 ) );
};
......
{
"name": "three.js-projector",
"version": "1.1.0",
"version": "1.2.2",
"description": "Three.js projector taken from example",
"main": "index.js",
"scripts": {
......
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