SectrPrototype/code/math.odin
Ed_ 12aa6b4870 Mostly exploring hashtables, some new files...
I made the files for the ast but they're not populated yet.
I made some initial implementation for raddbg flavored linked-lists.
2024-02-29 19:37:37 -05:00

15 lines
234 B
Odin

package sectr
is_power_of_two_u32 :: proc( value : u32 ) -> b32
{
return value != 0 && ( value & ( value - 1 )) == 0
}
import "core:math/linalg"
Vec2 :: linalg.Vector2f32
Vec3 :: linalg.Vector3f32
Vec2i :: [2]i32
Vec3i :: [3]i32