Beginning to lift the "grime" files to their own pacakge
This commit is contained in:
6
code/grime/math.odin
Normal file
6
code/grime/math.odin
Normal file
@ -0,0 +1,6 @@
|
||||
package grime
|
||||
|
||||
is_power_of_two_u32 :: #force_inline proc "contextless" ( value : u32 ) -> b32
|
||||
{
|
||||
return value != 0 && ( value & ( value - 1 )) == 0
|
||||
}
|
Reference in New Issue
Block a user