import { threeMakeLight } from "./threeMakeLight.js";

/**
 *
 * @param {Light} component
 * @param {ThreeLightCache} cache
 */
export function threeEnsureLightObject(component, cache) {
    if (component.__threeObject === null) {
        component.__threeObject = threeMakeLight(component, cache);
    }
}
