UI: Added widget focus for regular input blocking | Physics: Trigger callbacks

This commit is contained in:
2024-11-02 02:25:24 +01:00
parent cb55590e03
commit 9ae08a9278
7 changed files with 65 additions and 36 deletions

View File

@@ -76,9 +76,10 @@ nearly_equal :: (a: float, b: float) -> bool {
return abs(a - b) < 0.00001;
}
polytope : [..] Vector3;
epa :: (simplex: Simplex, collider_a: Collider, collider_b: Collider) -> Collision_Point {
polytope : [..] Vector3;
polytope.allocator = temp;
polytope.count = 0;
array_reserve(*polytope, simplex.size);
for simplex.points {