Use single library files instead of keeping function declarations in a seperate file
This commit is contained in:
parent
dbe087d208
commit
af773c79e2
6 changed files with 1321 additions and 590 deletions
17
lib/raylib-zig-math-prelude.zig
Normal file
17
lib/raylib-zig-math-prelude.zig
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
// raylib-zig (c) Nikolas Wipper 2023
|
||||
|
||||
const rl = @import("raylib-zig.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