MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / flyTo

Function flyTo

graph-ui/src/galaxy/GraphScene.camera.test.tsx:30–30  ·  view source on GitHub ↗
(x: number)

Source from the content-addressed store, hash-verified

28afterEach(() => { act(() => root.unmount()); host.remove(); });
29const runFrames = (count: number) => act(() => { for (let i = 0; i < count; i++) fiber.frames.at(-1)?.({}, 1 / 60); });
30const flyTo = (x: number): CameraTarget => ({ position: new Vector3(x, 0, 300), lookAt: new Vector3(x, 0, 0) });
31const fitTo = (z: number): CameraTarget => ({ position: new Vector3(0, 0, z), lookAt: new Vector3(0, 0, 0), immediate: true });
32
33describe('CameraAnimator', () => {

Callers 2

GalaxyPanelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected