GitBrincie212 / Apel-Mod

Apel is a library that brings particle animations to the table with flexible behaviour and a clean developer interface. It promises also lots of predefined shapes & paths to help the developer on their particle scene
Other
2 stars 1 forks source link

Triangle validity #59

Closed DarthSharkie closed 3 weeks ago

DarthSharkie commented 1 month ago

Fixes https://github.com/GitBrincie212/Apel-Mod/issues/58.

Triangle validity just needs to check $||\vec{AB} \times \vec{AC}|| \neq 0$. The scalar triple product $(\vec{AB} \times \vec{AC}) \cdot \vec{AD} \neq 0$ checks tetrahedron eligibility.

Write simple tests that validate these algorithms are correct.