MCPcopy
hub / github.com/mapillary/OpenSfM / intersectObject

Function intersectObject

viewer/js/three.js:7149–7165  ·  view source on GitHub ↗
( object, raycaster, intersects, recursive )

Source from the content-addressed store, hash-verified

7147 };
7148
7149 var intersectObject = function ( object, raycaster, intersects, recursive ) {
7150
7151 object.raycast( raycaster, intersects );
7152
7153 if ( recursive === true ) {
7154
7155 var children = object.children;
7156
7157 for ( var i = 0, l = children.length; i < l; i ++ ) {
7158
7159 intersectObject( children[ i ], raycaster, intersects, true );
7160
7161 }
7162
7163 }
7164
7165 };
7166
7167 //
7168

Callers 1

three.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected