all: use mach.math instead of std.math; fixes hexops/mach#1021

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2024-01-18 22:34:12 -07:00
parent 7904b74145
commit 89622810f8
7 changed files with 42 additions and 41 deletions

View file

@ -1,5 +1,3 @@
const std = @import("std");
const mach = @import("../main.zig");
const testing = mach.testing;
const math = mach.math;
@ -162,7 +160,7 @@ pub fn Ray(comptime Vec3P: type) type {
undefined,
undefined,
undefined,
std.math.inf(f32),
math.inf(f32),
);
if (backface_culling) {