vecmath: zig 0.17.0 fixes

This commit is contained in:
2026-10-12 00:28:10 +02:00
parent 8a8b84a730
commit 40c54c9a99
9 changed files with 14 additions and 14 deletions

View File

@@ -41,7 +41,7 @@ pub const Vector4 = extern struct {
}
pub inline fn asArray(self: Vector4) Array {
return @as(*const Array, @ptrCast(self)).*;
return @as(*const Array, @ptrCast(&self)).*;
}
pub inline fn dropW(self: Vector4) vm.Vector3 {