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