summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorRay <[email protected]>2017-05-10 00:57:48 +0200
committerRay <[email protected]>2017-05-10 00:57:48 +0200
commit0880be638e94bafb49aaa7465973716938306145 (patch)
treeb569418e5b4204f662b1576a015008694b6a2b2f /src/raylib.h
parent7f6b16add4225eb42d85a73fef94ae29b672036d (diff)
downloadraylib-0880be638e94bafb49aaa7465973716938306145.tar.gz
raylib-0880be638e94bafb49aaa7465973716938306145.zip
Renamed RayHitInfo variables
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/raylib.h b/src/raylib.h
index b8913c8d..e49081b5 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -479,8 +479,8 @@ typedef struct Ray {
typedef struct RayHitInfo {
bool hit; // Did the ray hit something?
float distance; // Distance to nearest hit
- Vector3 hitPosition; // Position of nearest hit
- Vector3 hitNormal; // Surface normal of hit
+ Vector3 position; // Position of nearest hit
+ Vector3 normal; // Surface normal of hit
} RayHitInfo;
// Wave type, defines audio wave data