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:
parent
7904b74145
commit
89622810f8
7 changed files with 42 additions and 41 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue