first commit
This commit is contained in:
17
web-app/node_modules/three/src/textures/CanvasTexture.js
generated
vendored
Normal file
17
web-app/node_modules/three/src/textures/CanvasTexture.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
import { Texture } from './Texture.js';
|
||||
|
||||
class CanvasTexture extends Texture {
|
||||
|
||||
constructor( canvas, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy ) {
|
||||
|
||||
super( canvas, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy );
|
||||
|
||||
this.isCanvasTexture = true;
|
||||
|
||||
this.needsUpdate = true;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export { CanvasTexture };
|
||||
Reference in New Issue
Block a user