MCPcopy Index your code
hub / github.com/stemkoski/stemkoski.github.com / getObject

Function getObject

Three.js/js/Three59dev.js:7269–7288  ·  view source on GitHub ↗
( object )

Source from the content-addressed store, hash-verified

7267 };
7268
7269 var getObject = function ( object ) {
7270
7271 _object = getNextObjectInPool();
7272 _object.object = object;
7273
7274 if ( object.renderDepth !== null ) {
7275
7276 _object.z = object.renderDepth;
7277
7278 } else {
7279
7280 _vector3.getPositionFromMatrix( object.matrixWorld );
7281 _vector3.applyProjection( _viewProjectionMatrix );
7282 _object.z = _vector3.z;
7283
7284 }
7285
7286 return _object;
7287
7288 };
7289
7290 var projectObject = function ( object ) {
7291

Callers 1

projectObjectFunction · 0.70

Calls 1

getNextObjectInPoolFunction · 0.70

Tested by

no test coverage detected