|
@@ -174,6 +174,7 @@ THREE.TubeGeometry.FrenetFrames = function ( path, segments, closed ) {
|
|
|
|
|
|
initialNormal3();
|
|
initialNormal3();
|
|
|
|
|
|
|
|
+ /*
|
|
function initialNormal1(lastBinormal) {
|
|
function initialNormal1(lastBinormal) {
|
|
// fixed start binormal. Has dangers of 0 vectors
|
|
// fixed start binormal. Has dangers of 0 vectors
|
|
normals[ 0 ] = new THREE.Vector3();
|
|
normals[ 0 ] = new THREE.Vector3();
|
|
@@ -195,6 +196,7 @@ THREE.TubeGeometry.FrenetFrames = function ( path, segments, closed ) {
|
|
binormals[ 0 ].crossVectors( tangents[ 0 ], normals[ 0 ] ).normalize();
|
|
binormals[ 0 ].crossVectors( tangents[ 0 ], normals[ 0 ] ).normalize();
|
|
|
|
|
|
}
|
|
}
|
|
|
|
+ */
|
|
|
|
|
|
function initialNormal3() {
|
|
function initialNormal3() {
|
|
// select an initial normal vector perpenicular to the first tangent vector,
|
|
// select an initial normal vector perpenicular to the first tangent vector,
|