Skip to content

Instantly share code, notes, and snippets.

View AKosmachyov's full-sized avatar
👋

Aliaksandr Kasmachou AKosmachyov

👋
View GitHub Profile
@AKosmachyov
AKosmachyov / Readme.md
Last active January 22, 2025 20:19
3D notes

3D Function Description

dot - скалярное произведение wiki, Khan Academy

$\vec{a} \cdot \vec{b} = | \vec{a} | | \vec{b} | \cos(\theta)$

Where

  • $| \vec{a} |, | \vec{b} |$ - magnitudes/lengths
  • $\theta$ - is the angle between $\vec{a}$ and $\vec{b}$

Результат dot для 2 нормализированных векторов, отображает их сонаправленность: