|
@@ -1,33 +0,0 @@
|
|
-/**
|
|
|
|
- * @author mrdoob / http://mrdoob.com/
|
|
|
|
- */
|
|
|
|
-
|
|
|
|
-THREE.ProxyFace3 = function ( array, offset, vertexNormals ) {
|
|
|
|
-
|
|
|
|
- this.array = array;
|
|
|
|
- this.offset = offset;
|
|
|
|
- this.vertexNormals = vertexNormals;
|
|
|
|
-
|
|
|
|
- //THREE.Face3.call( this, array[offset], array[offset+1], array[offset+2] /*, normal, color, materialIndex */);
|
|
|
|
-
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-THREE.ProxyFace3.prototype = Object.create( THREE.Face3.prototype );
|
|
|
|
-
|
|
|
|
-Object.defineProperties( THREE.ProxyFace3.prototype, {
|
|
|
|
- 'a': {
|
|
|
|
- enumerable: true,
|
|
|
|
- get: function () { return this.array[ this.offset ]; },
|
|
|
|
- set: function ( v ) { this.array[ this.offset ] = v; }
|
|
|
|
- },
|
|
|
|
- 'b': {
|
|
|
|
- enumerable: true,
|
|
|
|
- get: function () { return this.array[ this.offset + 1 ]; },
|
|
|
|
- set: function ( v ) { this.array[ this.offset + 1 ] = v; }
|
|
|
|
- },
|
|
|
|
- 'c': {
|
|
|
|
- enumerable: true,
|
|
|
|
- get: function () { return this.array[ this.offset + 2 ]; },
|
|
|
|
- set: function ( v ) { this.array[ this.offset + 2 ] = v; }
|
|
|
|
- },
|
|
|
|
-} );
|
|
|