소스 검색

REVIEWED: Direction must be normalized #4131

Ray 1 년 전
부모
커밋
df4ff4e78b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/raylib.h

+ 1 - 1
src/raylib.h

@@ -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