Merge pull request #29 from AlxHnr/devel

Rename RayHitInfo to RayCollision
This commit is contained in:
Nikolas 2022-12-23 19:55:36 +01:00 committed by GitHub
commit 76ebb09bdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -323,10 +323,10 @@ pub const Ray = extern struct {
direction: Vector3, direction: Vector3,
}; };
pub const RayHitInfo = extern struct { pub const RayCollision = extern struct {
hit: bool, hit: bool,
distance: f32, distance: f32,
position: Vector3, point: Vector3,
normal: Vector3, normal: Vector3,
}; };