added side and split geom logic

This commit is contained in:
Doc
2025-09-07 15:34:33 +02:00
parent 0722b2d9fe
commit e69e1967bb
2 changed files with 34 additions and 0 deletions

5
internal/geom/side.go Normal file
View File

@@ -0,0 +1,5 @@
package geom
func Side(P, O, D Vec) float64 {
return Cross(D, Sub(P, O))
}