提交 4312d652 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #11069 from Mugen87/geometry

Geometries: Removed unused variables
......@@ -78,7 +78,6 @@ function CylinderBufferGeometry( radiusTop, radiusBottom, height, radialSegments
// helper variables
var index = 0;
var indexOffset = 0;
var indexArray = [];
var halfHeight = height / 2;
var groupStart = 0;
......
......@@ -37,7 +37,6 @@ TorusKnotGeometry.prototype.constructor = TorusKnotGeometry;
import { Float32BufferAttribute } from '../core/BufferAttribute';
import { BufferGeometry } from '../core/BufferGeometry';
import { Vector3 } from '../math/Vector3';
import { Vector2 } from '../math/Vector2';
function TorusKnotBufferGeometry( radius, tube, tubularSegments, radialSegments, p, q ) {
......@@ -74,7 +73,6 @@ function TorusKnotBufferGeometry( radius, tube, tubularSegments, radialSegments,
var vertex = new Vector3();
var normal = new Vector3();
var uv = new Vector2();
var P1 = new Vector3();
var P2 = new Vector3();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册