MCPcopy
hub / github.com/stemkoski/stemkoski.github.com / getPathNode

Function getPathNode

Three.js/js/ThreeDebug.js:10643–10661  ·  view source on GitHub ↗
( id )

Source from the content-addressed store, hash-verified

10641 }
10642
10643 function getPathNode( id ) {
10644
10645 if ( _svgPathPool[ id ] == null ) {
10646
10647 _svgPathPool[ id ] = document.createElementNS( 'http://www.w3.org/2000/svg', 'path' );
10648
10649 if ( _quality == 0 ) {
10650
10651 _svgPathPool[ id ].setAttribute( 'shape-rendering', 'crispEdges' ); //optimizeSpeed
10652
10653 }
10654
10655 return _svgPathPool[ id ];
10656
10657 }
10658
10659 return _svgPathPool[ id ];
10660
10661 }
10662
10663 function getCircleNode( id ) {
10664

Callers 2

renderFace3Function · 0.85
renderFace4Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected