MCPcopy Create free account
hub / github.com/Robbyant/lingbot-map / camera_up

Method camera_up

demo_render/interactive_viewer/camera.py:58–60  ·  view source on GitHub ↗

Actual up vector (orthogonal to forward and right).

(self)

Source from the content-addressed store, hash-verified

56
57 @property
58 def camera_up(self) -> np.ndarray:
59 """Actual up vector (orthogonal to forward and right)."""
60 return _normalize(np.cross(self.right, self.forward))
61
62 @property
63 def distance(self) -> float:

Callers

nothing calls this directly

Calls 1

_normalizeFunction · 0.85

Tested by

no test coverage detected