Minor fixes

This commit is contained in:
Synthasmagoria 2026-08-26 00:43:22 +02:00
commit dbdd0e9bab
5 changed files with 75 additions and 35 deletions

View file

@ -163,7 +163,7 @@ rect_translate :: proc {rect2_translate, irect2_translate}
}
rect_from :: proc {rect2_from_v2, irect2_from_iv2}
rect_from :: proc {rect2_from_v2, irect2_from_iv2, rect2_from_corners, irect2_from_corners}
@(private="file") rect2_from_v2 :: proc "contextless" (position, size: v2) -> rect2 {
return {position.x, position.y, size.x, size.y}