Răsfoiți Sursa

Merge remote-tracking branch 'origin/dev' into dev

artur.trzesiok 7 ani în urmă
părinte
comite
7fe4a31c7b
1 a modificat fișierele cu 11 adăugiri și 11 ștergeri
  1. 11 11
      src/textures/Texture3D.js

+ 11 - 11
src/textures/Texture3D.js

@@ -2,25 +2,25 @@
  * @author Artur Trzesiok
  */
 
-import {Texture} from './Texture.js';
-import {NearestFilter} from '../constants.js';
+import { Texture } from './Texture.js';
+import { NearestFilter } from '../constants.js';
 
-function Texture3D(data, width, height, length, format, type, mapping, wrapS, wrapT, magFilter, minFilter, anisotropy, encoding) {
+function Texture3D( data, width, height, length, format, type, mapping, wrapS, wrapT, magFilter, minFilter, anisotropy, encoding ) {
 
-    Texture.call(this, null, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy, encoding);
+	Texture.call( this, null, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy, encoding );
 
-    this.image = {data: data, width: width, height: height, length: length};
+	this.image = { data: data, width: width, height: height, length: length };
 
-    this.magFilter = magFilter !== undefined ? magFilter : NearestFilter;
-    this.minFilter = minFilter !== undefined ? minFilter : NearestFilter;
+	this.magFilter = magFilter !== undefined ? magFilter : NearestFilter;
+	this.minFilter = minFilter !== undefined ? minFilter : NearestFilter;
 
-    this.generateMipmaps = false;
-    this.flipY = false;
+	this.generateMipmaps = false;
+	this.flipY = false;
 
 }
 
-Texture3D.prototype = Object.create(Texture.prototype);
+Texture3D.prototype = Object.create( Texture.prototype );
 Texture3D.prototype.constructor = Texture3D;
 Texture3D.prototype.isTexture3D = true;
 
-export {Texture3D};
+export { Texture3D };