import { addPointLight, getGroup } from '.';
/**
 * Get a point light source.
 * @example
 * ```
  addTo(root, getPointLight({ p: [0, 0, 3] }));
 * ```
 */
export const getPointLight = (opt = {}) => {
    opt = {
        color: '#FFD561',
        strength: 50,
        radius: 10,
        ...opt,
    };
    const plg = getGroup(opt);
    return addPointLight(plg, {
        color: opt.color,
        strength: opt.strength,
        radius: opt.radius,
        offset: opt.offset,
    });
};
//# sourceMappingURL=getPointLight.js.map