math: update to latest Zig version
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
3a81f35b8b
commit
c3e8c25f1d
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ pub const vec = struct {
|
|||
/// // v.x == 1337, v.y == 1337, v.z == 1337
|
||||
/// ```
|
||||
pub inline fn splat(comptime V: type, scalar: f32) V {
|
||||
return @splat(size(V), scalar);
|
||||
return @splat(scalar);
|
||||
}
|
||||
|
||||
/// Computes the squared length of the vector. Faster than `len()`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue