@spearwolf/twopoint5d
Version:
a library to create 2.5d realtime graphics and pixelart with three.js
15 lines • 487 B
JavaScript
import { Material, Mesh } from 'three';
import { InstancedVertexObjectGeometry } from './InstancedVertexObjectGeometry.js';
export class VertexObjects extends Mesh {
constructor(geometry, material) {
super(geometry, material);
this.name = 'VertexObjects';
this.frustumCulled = false;
}
update() {
if (typeof this.geometry?.update === 'function') {
this.geometry.update();
}
}
}
//# sourceMappingURL=VertexObjects.js.map