RenderableFace4.js 574 B

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