2024-02-08 07:50:36 -08:00
|
|
|
package sectr
|
|
|
|
|
2024-02-29 16:37:37 -08:00
|
|
|
is_power_of_two_u32 :: proc( value : u32 ) -> b32
|
|
|
|
{
|
|
|
|
return value != 0 && ( value & ( value - 1 )) == 0
|
|
|
|
}
|
|
|
|
|
2024-02-10 00:40:53 -08:00
|
|
|
import "core:math/linalg"
|
|
|
|
|
|
|
|
Vec2 :: linalg.Vector2f32
|
|
|
|
Vec3 :: linalg.Vector3f32
|
|
|
|
|
2024-02-11 20:00:06 -08:00
|
|
|
Vec2i :: [2]i32
|
|
|
|
Vec3i :: [3]i32
|