UNPKG

@spearwolf/twopoint5d

Version:

Create 2.5D realtime graphics and pixelart with WebGL and three.js

9 lines 273 B
export const readOption = (options, propName, defValue) => { if (options != null && propName in options) { const val = options[propName]; if (val !== undefined) return val; } return defValue; }; //# sourceMappingURL=readOption.js.map