File size: 448 Bytes
b797337 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | import { CubeReflectionMapping } from '../constants.js';
import { CompressedTexture } from './CompressedTexture.js';
class CompressedCubeTexture extends CompressedTexture {
constructor( images, format, type ) {
super( undefined, images[ 0 ].width, images[ 0 ].height, format, type, CubeReflectionMapping );
this.isCompressedCubeTexture = true;
this.isCubeTexture = true;
this.image = images;
}
}
export { CompressedCubeTexture };
|