Browse Source

Geometries: Removed unused variables

Mugen87 8 years ago
parent
commit
d048b5c939
2 changed files with 0 additions and 3 deletions
  1. 0 1
      src/geometries/CylinderGeometry.js
  2. 0 2
      src/geometries/TorusKnotGeometry.js

+ 0 - 1
src/geometries/CylinderGeometry.js

@@ -78,7 +78,6 @@ function CylinderBufferGeometry( radiusTop, radiusBottom, height, radialSegments
 	// helper variables
 	// helper variables
 
 
 	var index = 0;
 	var index = 0;
-	var indexOffset = 0;
 	var indexArray = [];
 	var indexArray = [];
 	var halfHeight = height / 2;
 	var halfHeight = height / 2;
 	var groupStart = 0;
 	var groupStart = 0;

+ 0 - 2
src/geometries/TorusKnotGeometry.js

@@ -37,7 +37,6 @@ TorusKnotGeometry.prototype.constructor = TorusKnotGeometry;
 import { Float32BufferAttribute } from '../core/BufferAttribute';
 import { Float32BufferAttribute } from '../core/BufferAttribute';
 import { BufferGeometry } from '../core/BufferGeometry';
 import { BufferGeometry } from '../core/BufferGeometry';
 import { Vector3 } from '../math/Vector3';
 import { Vector3 } from '../math/Vector3';
-import { Vector2 } from '../math/Vector2';
 
 
 function TorusKnotBufferGeometry( radius, tube, tubularSegments, radialSegments, p, q ) {
 function TorusKnotBufferGeometry( radius, tube, tubularSegments, radialSegments, p, q ) {
 
 
@@ -74,7 +73,6 @@ function TorusKnotBufferGeometry( radius, tube, tubularSegments, radialSegments,
 
 
 	var vertex = new Vector3();
 	var vertex = new Vector3();
 	var normal = new Vector3();
 	var normal = new Vector3();
-	var uv = new Vector2();
 
 
 	var P1 = new Vector3();
 	var P1 = new Vector3();
 	var P2 = new Vector3();
 	var P2 = new Vector3();