REVIEWED: Direction must be normalized #4131
This commit is contained in:
parent
6dd2a0e645
commit
df4ff4e78b
1 changed files with 1 additions and 1 deletions
|
@ -421,7 +421,7 @@ typedef struct ModelAnimation {
|
||||||
// Ray, ray for raycasting
|
// Ray, ray for raycasting
|
||||||
typedef struct Ray {
|
typedef struct Ray {
|
||||||
Vector3 position; // Ray position (origin)
|
Vector3 position; // Ray position (origin)
|
||||||
Vector3 direction; // Ray direction
|
Vector3 direction; // Ray direction (normalized)
|
||||||
} Ray;
|
} Ray;
|
||||||
|
|
||||||
// RayCollision, ray hit information
|
// RayCollision, ray hit information
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue