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

Function dot

graph-ui/src/galaxy/camera-frame.test.ts:166–166  ·  view source on GitHub ↗
(a: Vector3Like, b: Vector3Like)

Source from the content-addressed store, hash-verified

164 const sub = (a: Vector3Like, b: Vector3Like): Vector3Like =>
165 ({ x: a.x - b.x, y: a.y - b.y, z: a.z - b.z });
166 const dot = (a: Vector3Like, b: Vector3Like): number => a.x * b.x + a.y * b.y + a.z * b.z;
167 const cross = (a: Vector3Like, b: Vector3Like): Vector3Like => ({
168 x: a.y * b.z - a.z * b.y,
169 y: a.z * b.x - a.x * b.z,

Callers 2

projectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected