UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

18 lines (14 loc) 348 B
import { assert } from "../../../../../core/assert.js"; export class MatcapMaterialDefinition { constructor() { /** * * @type {string|null} */ this.texture = null; } fromJSON({texture}) { assert.isString(texture, 'texture'); this.texture = texture; } }