@spearwolf/twopoint5d
Version:
Create 2.5D realtime graphics and pixelart with WebGL and three.js
14 lines • 400 B
JavaScript
import { Mesh } from 'three/webgpu';
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