DIR : /home/kozerus/public_html/cropex/node/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
/home/kozerus/public_html/cropex/node/node_modules/@radix-ui/react-use-callback-ref/dist
var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
// src/use-callback-ref.tsx
import * as React from "react";
function useCallbackRef(callback) {
const callbackRef = React.useRef(callback);
React.useEffect(() => {
callbackRef.current = callback;
});
return React.useMemo(() => ((...args) => callbackRef.current?.(...args)), []);
}
__name(useCallbackRef, "useCallbackRef");
export {
useCallbackRef
};
//# sourceMappingURL=index.mjs.map
//
koh5_pano
Drag mouse to navigate.
Navigation
- Left/Right Mouse drag: Changes camera heading.
- Up/Sown Mouse drag: Changes camera pitch.
- Scroll wheel: Changes camera field of view.
- I-Key: Displays Info panel with canvas size, image size and FPS.
17.Aug.2010, Martin Wengenmayer