UNPKG

3dmol

Version:

JavaScript/TypeScript molecular visualization library

15 lines (12 loc) 381 B
import { ImposterMaterial } from "./ImposterMaterial"; export class StickImposterMaterial extends ImposterMaterial { shaderID = "stickimposter"; constructor(parameters?: any) { super(parameters); this.setValues(parameters); } clone<T extends this>(material = new StickImposterMaterial() as T): T { super.clone.call(this, material); return material; } }