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

Function getObject

Three.js/js/Three60.js:7768–7788  ·  view source on GitHub ↗
( object )

Source from the content-addressed store, hash-verified

7766 };
7767
7768 var getObject = function ( object ) {
7769
7770 _object = getNextObjectInPool();
7771 _object.id = object.id;
7772 _object.object = object;
7773
7774 if ( object.renderDepth !== null ) {
7775
7776 _object.z = object.renderDepth;
7777
7778 } else {
7779
7780 _vector3.getPositionFromMatrix( object.matrixWorld );
7781 _vector3.applyProjection( _viewProjectionMatrix );
7782 _object.z = _vector3.z;
7783
7784 }
7785
7786 return _object;
7787
7788 };
7789
7790 var projectObject = function ( object ) {
7791

Callers 1

projectObjectFunction · 0.70

Calls 1

getNextObjectInPoolFunction · 0.70

Tested by

no test coverage detected