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

Function getLineNode

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

Source from the content-addressed store, hash-verified

10621 }
10622
10623 function getLineNode( id ) {
10624
10625 if ( _svgLinePool[ id ] == null ) {
10626
10627 _svgLinePool[ id ] = document.createElementNS( 'http://www.w3.org/2000/svg', 'line' );
10628
10629 if ( _quality == 0 ) {
10630
10631 _svgLinePool[ id ].setAttribute( 'shape-rendering', 'crispEdges' ); //optimizeSpeed
10632
10633 }
10634
10635 return _svgLinePool[ id ];
10636
10637 }
10638
10639 return _svgLinePool[ id ];
10640
10641 }
10642
10643 function getPathNode( id ) {
10644

Callers 1

renderLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected