Closed fuddl closed 1 year ago
currently, whenever pitch and yaw are changed, a denounce happens followed by an easing animation, that pans to the new direction. Can I instead change pitch and yaw instantaneously?
pitch
yaw
I figured out how to do it:
useEffect(() => { panorama.current.panorama.setYaw(yaw, 0) panorama.current.panorama.setPitch(pitch, 0) }, [yaw, pitch] );
currently, whenever
pitch
andyaw
are changed, a denounce happens followed by an easing animation, that pans to the new direction. Can I instead changepitch
andyaw
instantaneously?