Skip to content

Commit

Permalink
REVIEWED: Direction must be normalized #4131
Browse files Browse the repository at this point in the history
  • Loading branch information
raysan5 committed Jul 7, 2024
1 parent 6dd2a0e commit df4ff4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/raylib.h
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ typedef struct ModelAnimation {
// Ray, ray for raycasting
typedef struct Ray {
Vector3 position; // Ray position (origin)
Vector3 direction; // Ray direction
Vector3 direction; // Ray direction (normalized)
} Ray;

// RayCollision, ray hit information
Expand Down

0 comments on commit df4ff4e

Please sign in to comment.