Map C pointers to Zig and functions names use Zig naming conventions
This commit is contained in:
parent
c564af4f61
commit
e29e012981
18 changed files with 3510 additions and 879 deletions
18
lib/preludes/raylib-zig-math-prelude.zig
Normal file
18
lib/preludes/raylib-zig-math-prelude.zig
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
// raylib-zig (c) Nikolas Wipper 2023
|
||||
|
||||
const rl = @import("raylib-zig.zig");
|
||||
const cdef = @import("raylib-zig-math-ext.zig");
|
||||
|
||||
const Matrix = rl.Matrix;
|
||||
const Quaternion = rl.Quaternion;
|
||||
const Vector2 = rl.Vector2;
|
||||
const Vector3 = rl.Vector3;
|
||||
const Vector4 = rl.Vector4;
|
||||
|
||||
pub const float3 = extern struct {
|
||||
v: [3]f32,
|
||||
};
|
||||
|
||||
pub const float16 = extern struct {
|
||||
v: [16]f32,
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue