@spearwolf/twopoint5d
Version:
Create 2.5D realtime graphics and pixelart with WebGL and three.js
14 lines • 458 B
JavaScript
import { VertexObjects } from '../../vertex-objects/VertexObjects.js';
export class AnimatedSprites extends VertexObjects {
constructor(geometry, material) {
super(geometry, material);
this.name = 'twopoint5d.AnimatedSprites';
}
dispose() {
this.geometry?.dispose();
this.geometry = undefined;
this.material?.dispose();
this.material = undefined;
}
}
//# sourceMappingURL=AnimatedSprites.js.map