RenderableFace3.js 525 B

1234567891011121314151617181920212223
  1. /**
  2. * @author mr.doob / 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.centroidWorld = new THREE.Vector3();
  9. this.centroidScreen = new THREE.Vector3();
  10. this.normalWorld = new THREE.Vector3();
  11. this.vertexNormalsWorld = [ new THREE.Vector3(), new THREE.Vector3(), new THREE.Vector3() ];
  12. this.material = null;
  13. this.faceMaterial = null;
  14. this.uvs = [[]];
  15. this.z = null;
  16. };