Initial project import
This commit is contained in:
13
node_modules/three-stdlib/_polyfill/CompressedArrayTexture.js
generated
vendored
Normal file
13
node_modules/three-stdlib/_polyfill/CompressedArrayTexture.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import { CompressedTexture, ClampToEdgeWrapping } from "three";
|
||||
class CompressedArrayTexture extends CompressedTexture {
|
||||
constructor(mipmaps, width, height, depth, format, type) {
|
||||
super(mipmaps, width, height, format, type);
|
||||
this.isCompressedArrayTexture = true;
|
||||
this.image.depth = depth;
|
||||
this.wrapR = ClampToEdgeWrapping;
|
||||
}
|
||||
}
|
||||
export {
|
||||
CompressedArrayTexture
|
||||
};
|
||||
//# sourceMappingURL=CompressedArrayTexture.js.map
|
||||
Reference in New Issue
Block a user