Map C pointers to Zig and functions names use Zig naming conventions

This commit is contained in:
Not-Nik 2023-07-10 22:22:37 +02:00
parent c564af4f61
commit e29e012981
Failed to generate hash of commit
18 changed files with 3510 additions and 879 deletions

View 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,
};