MCPcopy Create free account
hub / github.com/DeepNotesApp/DeepNotes / clientToWorld

Method clientToWorld

apps/client/src/code/pages/page/space/pos.ts:61–63  ·  view source on GitHub ↗
(clientPos: Vec2)

Source from the content-addressed store, hash-verified

59 }
60
61 clientToWorld(clientPos: Vec2): Vec2 {
62 return this.displayToWorld(this.clientToDisplay(clientPos));
63 }
64 worldToClient(worldPos: Vec2): Vec2 {
65 return this.displayToClient(this.worldToDisplay(worldPos));
66 }

Callers 7

eventToWorldMethod · 0.95
getContainerWorldRectMethod · 0.45
getContainerWorldRectMethod · 0.45
getWorldRectMethod · 0.45
_dragOutMethod · 0.45
getWorldRectMethod · 0.45
grabMethod · 0.45

Calls 2

displayToWorldMethod · 0.95
clientToDisplayMethod · 0.95

Tested by

no test coverage detected