RenderableFace3.js 648 B

1234567891011121314151617181920212223242526
  1. /**
  2. * @author mrdoob / http://mrdoob.com/
  3. */
  4. THREE.RenderableFace3 = function () {
  5. this.v1 = new THREE.RenderableVertex();
  6. this.v2 = new THREE.RenderableVertex();
  7. this.v3 = new THREE.RenderableVertex();
  8. this.centroidModel = new THREE.Vector3();
  9. this.normalModel = new THREE.Vector3();
  10. this.normalModelView = new THREE.Vector3();
  11. this.vertexNormalsLength = 0;
  12. this.vertexNormalsModel = [ new THREE.Vector3(), new THREE.Vector3(), new THREE.Vector3() ];
  13. this.vertexNormalsModelView = [ new THREE.Vector3(), new THREE.Vector3(), new THREE.Vector3() ];
  14. this.color = null;
  15. this.material = null;
  16. this.uvs = [[]];
  17. this.z = null;
  18. };
粤ICP备19079148号