UNPKG

pex-renderer

Version:

Physically Based Renderer (PBR) and scene graph designed as ECS for PEX: define entities to be rendered as collections of components with their update orchestrated by systems.

11 lines (10 loc) 258 B
/** * Bounding box helper component * @param {import("../types.js").BoundingBoxHelperComponentOptions} [options] * @returns {object} * @alias module:components.boundingBoxHelper */ export default (options) => ({ color: [1, 0, 0, 1], ...options, });