From 813cdfe4f3cd35dc4d483228b6b7ecebbfb005bf Mon Sep 17 00:00:00 2001 From: Garrett Hale Date: Fri, 27 Nov 2020 17:51:59 -0600 Subject: [PATCH] set matrix math to use f64 instead of double --- lib/raylib-zig-math.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/raylib-zig-math.zig b/lib/raylib-zig-math.zig index c47b0ea..2d3f18e 100755 --- a/lib/raylib-zig-math.zig +++ b/lib/raylib-zig-math.zig @@ -58,9 +58,9 @@ pub extern fn MatrixRotateY(angle: f32) Matrix; pub extern fn MatrixRotateZ(angle: f32) Matrix; pub extern fn MatrixScale(x: f32, y: f32, z: f32) Matrix; pub extern fn MatrixMultiply(left: Matrix, right: Matrix) Matrix; -pub extern fn MatrixFrustum(left: double, right: double, bottom: double, top: double, near: double, far: double) Matrix; -pub extern fn MatrixPerspective(fovy: double, aspect: double, near: double, far: double) Matrix; -pub extern fn MatrixOrtho(left: double, right: double, bottom: double, top: double, near: double, far: double) Matrix; +pub extern fn MatrixFrustum(left: f64, right: f64, bottom: f64, top: f64, near: f64, far: f64) Matrix; +pub extern fn MatrixPerspective(fovy: f64, aspect: f64, near: f64, far: f64) Matrix; +pub extern fn MatrixOrtho(left: f64, right: f64, bottom: f64, top: f64, near: f64, far: f64) Matrix; pub extern fn MatrixLookAt(eye: Vector3, target: Vector3, up: Vector3) Matrix; pub extern fn MatrixToFloatV(mat: Matrix) float16; pub extern fn QuaternionIdentity() Quaternion;