source: other-projects/playing-in-the-street/summer-2013/trunk/Playing-in-the-Street-WPF/Content/Web/mrdoob-three.js-4862f5f/src/renderers/renderables/RenderableFace3.js@ 28897

Last change on this file since 28897 was 28897, checked in by davidb, 10 years ago

GUI front-end to server base plus web page content

File size: 660 bytes
Line 
1/**
2 * @author mrdoob / http://mrdoob.com/
3 */
4
5THREE.RenderableFace3 = function () {
6
7 this.id = 0;
8
9 this.v1 = new THREE.RenderableVertex();
10 this.v2 = new THREE.RenderableVertex();
11 this.v3 = new THREE.RenderableVertex();
12
13 this.centroidModel = new THREE.Vector3();
14
15 this.normalModel = new THREE.Vector3();
16 this.normalModelView = new THREE.Vector3();
17
18 this.vertexNormalsLength = 0;
19 this.vertexNormalsModel = [ new THREE.Vector3(), new THREE.Vector3(), new THREE.Vector3() ];
20 this.vertexNormalsModelView = [ new THREE.Vector3(), new THREE.Vector3(), new THREE.Vector3() ];
21
22 this.color = null;
23 this.material = null;
24 this.uvs = [[]];
25
26 this.z = 0;
27
28};
Note: See TracBrowser for help on using the repository browser.