fix rotated filled box-selection & refactor

This commit is contained in:
dwelle
2026-03-30 12:27:35 +02:00
parent 1e61f1c66a
commit 23959099e1
5 changed files with 243 additions and 50 deletions
+6
View File
@@ -23,6 +23,12 @@ export type Degrees = number & { _brand: "excalimath_degree" };
*/
export type InclusiveRange = [number, number] & { _brand: "excalimath_degree" };
/**
* Can be used for any type of point-likes that are non-rotated, such as
* non-AABB Bounds, or non-rotated Point.
*/
export type NonRotated<T> = T & { _brand_nonrotated: "excalimath_nonrotated" };
//
// Point
//