vecmath: zig 0.17.0 fixes
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user