(v: np.ndarray)
| 10 | |
| 11 | |
| 12 | def _normalize(v: np.ndarray) -> np.ndarray: |
| 13 | n = np.linalg.norm(v) |
| 14 | return v / n if n > 1e-8 else v |
| 15 | |
| 16 | |
| 17 | def _lookat_w2c(eye: np.ndarray, center: np.ndarray, up: np.ndarray) -> np.ndarray: |
no outgoing calls
no test coverage detected