UNPKG

spacesvr-websessions

Version:

A standardized reality for future of the 3D Web

8 lines (7 loc) 331 B
/// <reference types="react" /> import { Camera, Group, Vector3 } from "three"; import { Api } from "@react-three/cannon"; export declare const useSpringVelocity: (bodyApi: Api<Group>[1], speed: number) => { direction: import("react").MutableRefObject<Vector3>; updateVelocity: (cam: Camera, velocity: Vector3) => void; };