Add all subfiles to refAllDecls

This commit is contained in:
Nikolas committed 2026-04-03 20:27:19 +02:00
1 parent 8e04b7098a
commit 01869ab291
8 files changed
+20 -7

No files matched your search

+2
View File
@@ -5,6 +5,8 @@ pub const cdef = @import("raygui-ext.zig");
test {
std.testing.refAllDecls(@This());
std.testing.refAllDecls(cdef);
std.testing.refAllDecls(rl);
}
pub const RayguiError = error{GetIcons};
+3
View File
@@ -12,6 +12,9 @@ const C = std.builtin.CallingConvention.c;
test {
std.testing.refAllDecls(@This());
std.testing.refAllDecls(cdef);
std.testing.refAllDecls(gl);
std.testing.refAllDecls(math);
}
pub const RaylibError = error{
+1
View File
@@ -7,6 +7,7 @@ pub const cdef = @import("raymath-ext.zig");
test {
std.testing.refAllDecls(@This());
std.testing.refAllDecls(cdef);
}
const Matrix = rl.Matrix;
+1
View File
@@ -7,6 +7,7 @@ pub const cdef = @import("rlgl-ext.zig");
test {
std.testing.refAllDecls(@This());
std.testing.refAllDecls(cdef);
}
const Matrix = rl.Matrix;
+2
View File
@@ -5,6 +5,8 @@ pub const cdef = @import("raygui-ext.zig");
test {
std.testing.refAllDecls(@This());
std.testing.refAllDecls(cdef);
std.testing.refAllDecls(rl);
}
pub const RayguiError = error{GetIcons};
+9 -7
View File
@@ -12,6 +12,9 @@ const C = std.builtin.CallingConvention.c;
test {
std.testing.refAllDecls(@This());
std.testing.refAllDecls(cdef);
std.testing.refAllDecls(gl);
std.testing.refAllDecls(math);
}
pub const RaylibError = error{
@@ -57,12 +60,12 @@ pub const Vector2 = extern struct {
/// Vector with components value 0.0
pub fn zero() Vector2 {
return Vector2{ .x = 0.0, .y = 0.0 };
return math.vector2Zero();
}
/// Vector with components value 1.0
pub fn one() Vector2 {
return Vector2{ .x = 1.0, .y = 1.0 };
return math.vector2One();
}
/// Add two vectors (v1 + v2)
@@ -225,12 +228,12 @@ pub const Vector3 = extern struct {
// Vector with components value 0.0
pub fn zero() Vector3 {
return Vector3{ .x = 0.0, .y = 0.0, .z = 0.0};
return math.vector3Zero();
}
/// Vector with components value 1.0
pub fn one() Vector3 {
return Vector3{ .x = 1.0, .y = 1.0, .z = 1.0};
return math.vector3One();
}
/// Add two vectors
@@ -443,12 +446,12 @@ pub const Vector4 = extern struct {
/// Vector with components value 0.0
pub fn zero() Vector4 {
return Vector4{.x = 0.0, .y = 0.0, .z = 0.0, .w = 0.0};
return math.vector4Zero();
}
/// Vector with components value 1.0
pub fn one() Vector4 {
return Vector4{.x = 1.0, .y = 1.0, .z = 1.0, .w = 1.0};
return math.vector4One();
}
/// Add two vectors
@@ -1836,7 +1839,6 @@ pub const KeyboardKey = enum(c_int) {
//menu = 82,
volume_up = 24,
volume_down = 25,
_,
};
pub const MouseButton = enum(c_int) {
+1
View File
@@ -7,6 +7,7 @@ pub const cdef = @import("raymath-ext.zig");
test {
std.testing.refAllDecls(@This());
std.testing.refAllDecls(cdef);
}
const Matrix = rl.Matrix;
+1
View File
@@ -7,6 +7,7 @@ pub const cdef = @import("rlgl-ext.zig");
test {
std.testing.refAllDecls(@This());
std.testing.refAllDecls(cdef);
}
const Matrix = rl.Matrix;