You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhanced Collider API: Spatial module now uses a unified Collider type supporting both boxes and spheres:
spatial.collider_box() - Create box collider from min/max points
spatial.collider_box_from_center() - Create box from center and half-extents
spatial.collider_sphere() - Create sphere collider from center and radius
spatial.collider_contains_point() - Point-in-collider test (works for both box and sphere)
spatial.collider_intersects() - Collider intersection test (box-box, sphere-sphere, box-sphere)
Box-sphere collision detection for heterogeneous spatial queries
Documentation guide: Added docs/physics-guide.md with comprehensive physics system documentation
Changed
Scene module refactoring: Moved renderer logic from tiramisu/internal/renderer.gleam into tiramisu/scene.gleam for better organization (removed 1926 lines, added rendering functions directly to scene module)
Scene.Node type is now opaque: Must use constructor functions instead of direct constructors (e.g., scene.mesh() instead of scene.Mesh())
Spatial API redesign: Renamed AABB type to Collider and updated all related functions: