RenderableFace4.js 587 B

123456789101112131415161718192021222324
  1. /**
  2. * @author mr.doob / http://mrdoob.com/
  3. */
  4. THREE.RenderableFace4 = function () {
  5. this.v1 = new THREE.RenderableVertex();
  6. this.v2 = new THREE.RenderableVertex();
  7. this.v3 = new THREE.RenderableVertex();
  8. this.v4 = new THREE.RenderableVertex();
  9. this.centroidWorld = new THREE.Vector3();
  10. this.centroidScreen = new THREE.Vector3();
  11. this.normalWorld = new THREE.Vector3();
  12. this.vertexNormalsWorld = [ new THREE.Vector3(), new THREE.Vector3(), new THREE.Vector3(), new THREE.Vector3() ];
  13. this.material = null;
  14. this.faceMaterial = null;
  15. this.uvs = [[]];
  16. this.z = null;
  17. };