_svgNode.setAttribute('d','M '+v1x+''+v1y+' L '+v2x+''+v2y+' L '+v3x+','+v3y+'z');
_svgNode.setAttribute('d','M '+v1.positionScreen.x+''+v1.positionScreen.y+' L '+v2.positionScreen.x+''+v2.positionScreen.y+' L '+v3.positionScreen.x+','+v3.positionScreen.y+'z');
if(materialinstanceofTHREE.MeshBasicMaterial){
...
...
@@ -370,10 +377,10 @@ THREE.SVGRenderer = function () {
_svgNode.setAttribute('d','M '+v1x+''+v1y+' L '+v2x+''+v2y+' L '+v3x+','+v3y+' L '+v4x+','+v4y+'z');
_svgNode.setAttribute('d','M '+v1.positionScreen.x+''+v1.positionScreen.y+' L '+v2.positionScreen.x+''+v2.positionScreen.y+' L '+v3.positionScreen.x+','+v3.positionScreen.y+' L '+v4.positionScreen.x+','+v4.positionScreen.y+'z');
if(materialinstanceofTHREE.MeshBasicMaterial){
...
...
@@ -412,7 +419,7 @@ THREE.SVGRenderer = function () {
}
functiongetPathNode(id){
functiongetPathNode(id){
if(_svgPathPool[id]==null){
...
...
@@ -432,7 +439,7 @@ THREE.SVGRenderer = function () {