UNPKG

@smoud/tiny

Version:

Fast and tiny JavaScript library for HTML5 game and playable ads creation.

12 lines (8 loc) 328 B
import { Light } from './Light'; var DirectionalLight = function (color, intensity) { Light.call(this, color, intensity); this.isDirectionalLight = true; }; DirectionalLight.prototype = Object.create(Light.prototype); DirectionalLight.prototype.constructor = DirectionalLight; export { DirectionalLight };