Files
hydro-builder-app/node_modules/three-stdlib/_polyfill/CompressedArrayTexture.cjs
2026-06-13 17:36:44 -07:00

14 lines
523 B
JavaScript

"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const THREE = require("three");
class CompressedArrayTexture extends THREE.CompressedTexture {
constructor(mipmaps, width, height, depth, format, type) {
super(mipmaps, width, height, format, type);
this.isCompressedArrayTexture = true;
this.image.depth = depth;
this.wrapR = THREE.ClampToEdgeWrapping;
}
}
exports.CompressedArrayTexture = CompressedArrayTexture;
//# sourceMappingURL=CompressedArrayTexture.cjs.map