This commit is contained in:
Synthasmagoria 2026-08-24 23:07:33 +02:00
commit 4e920b5f0a
3 changed files with 119 additions and 156 deletions

View file

@ -76,6 +76,10 @@ fract :: proc(val: f32) -> f32 {
return val - math.trunc(val)
}
color_to_fcolor :: proc(color: rl.Color) -> [4]f32 {
return cast([4]f32)(color) / 255.0
}
/// ### TYPES ### ///
v1 :: [1]f32
v2 :: [2]f32