k-l-lambda's picture
feat: add Python ML services (CPU mode) with model download
2b7aae2
import { Texture } from './Texture.js';
import { CubeReflectionMapping } from '../constants.js';
class CubeTexture extends Texture {
constructor(images, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy, encoding) {
images = images !== undefined ? images : [];
mapping = mapping !== undefined ? mapping : CubeReflectionMapping;
super(images, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy, encoding);
this.flipY = false;
}
get images() {
return this.image;
}
set images(value) {
this.image = value;
}
}
CubeTexture.prototype.isCubeTexture = true;
export { CubeTexture };