Vertex.js 445 字节
Newer Older
M
Mr.doob 已提交
1 2 3 4
/**
 * @author mr.doob / http://mrdoob.com/
 */

5
THREE.Vertex = function ( position /*, normal*/ ) {
6

M
Mr.doob 已提交
7
	this.position = position || new THREE.Vector3();
8 9

	/*
M
Mr.doob 已提交
10
	this.positionWorld = new THREE.Vector3();
M
Mr.doob 已提交
11
	this.positionScreen = new THREE.Vector4();
M
Mr.doob 已提交
12

M
Mr.doob 已提交
13
	this.normal = normal || new THREE.Vector3();
M
Mr.doob 已提交
14 15
	this.normalWorld = new THREE.Vector3();
	this.normalScreen = new THREE.Vector3();
16

17
	this.tangent = new THREE.Vector4();
18

19
	this.__visible = true;
20
	*/
21

22
};