From 7ee4eb953d51637a44bcff132d59c6fc18680faa Mon Sep 17 00:00:00 2001 From: Alexander Heinrich Date: Sat, 17 Dec 2022 18:26:27 +0100 Subject: [PATCH] Rename RayHitInfo to RayCollision This struct was renamed by upstream a while ago: https://github.com/raysan5/raylib/commit/1c5de9721a8c9b9543044b461d4a9480c1d25b43 --- lib/raylib-zig.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/raylib-zig.zig b/lib/raylib-zig.zig index f4131c4..440b65c 100755 --- a/lib/raylib-zig.zig +++ b/lib/raylib-zig.zig @@ -323,10 +323,10 @@ pub const Ray = extern struct { direction: Vector3, }; -pub const RayHitInfo = extern struct { +pub const RayCollision = extern struct { hit: bool, distance: f32, - position: Vector3, + point: Vector3, normal: Vector3, };