UNPKG

@three.ez/batched-mesh-extensions

Version:
13 lines 634 B
import { BatchedMesh } from 'three'; import { getUniformAt, initUniformsPerInstance, setUniformAt } from '../core/feature/Uniforms.js'; import { extendBatchedMeshPrototypeCommon } from './ExtendBatchedMeshPrototype.common.js'; /** * Enhances the BatchedMesh prototype with additional methods. */ export function extendBatchedMeshPrototype() { extendBatchedMeshPrototypeCommon(); BatchedMesh.prototype.getUniformAt = getUniformAt; BatchedMesh.prototype.setUniformAt = setUniformAt; BatchedMesh.prototype.initUniformsPerInstance = initUniformsPerInstance; } //# sourceMappingURL=ExtendBatchedMeshPrototype.webgl.js.map