import { AppObjectUC, getSingletonComponent, ParametricLine } from "@vived/core";
export class PixelToSceneRayUC extends AppObjectUC {
}
PixelToSceneRayUC.type = "PixelToSceneRayUC";
PixelToSceneRayUC.get = (appObjects) => getSingletonComponent(PixelToSceneRayUC.type, appObjects);
export function pixelToSceneRay(pixelPos, appObjects) {
    const uc = PixelToSceneRayUC.get(appObjects);
    if (!uc) {
        appObjects.submitWarning("pixelToSceneRay", "Unable to find PixelToSceneRayUC");
        return ParametricLine.Forward();
    }
    return uc.pixelToSceneRay(pixelPos);
}
//# sourceMappingURL=PixelToSceneRayUC.js.map