UNPKG

@openhps/core

Version:

Open Hybrid Positioning System - Core component

35 lines (32 loc) 728 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _Node = _interopRequireDefault(require("../core/Node.js")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /** * Base class for lighting nodes. * * @augments Node */ class LightingNode extends _Node.default { static get type() { return 'LightingNode'; } /** * Constructs a new lighting node. */ constructor() { super('vec3'); /** * This flag can be used for type testing. * * @type {boolean} * @readonly * @default true */ this.isLightingNode = true; } } var _default = exports.default = LightingNode;