mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 23:28:48 +00:00
Runtime assert
This commit is contained in:
+1
-2
@@ -3,17 +3,16 @@
|
||||
#load "game.odin"
|
||||
|
||||
main :: proc() {
|
||||
|
||||
print_int(min(1, 2)); nl()
|
||||
print_int(max(1, 2)); nl()
|
||||
print_int(abs(-1337)); nl()
|
||||
|
||||
a, b, c := 1, 2, -1337
|
||||
|
||||
print_int(min(a, b)); nl()
|
||||
print_int(max(a, b)); nl()
|
||||
print_int(abs(c) as int); nl()
|
||||
|
||||
|
||||
nl()
|
||||
/*
|
||||
Vec3 :: type struct { x, y, z: f32 }
|
||||
|
||||
Reference in New Issue
Block a user