Răsfoiți Sursa

raylib: Refer to Odin-style enum over original C enum

Fixes #4865
Feoramund 1 lună în urmă
părinte
comite
92005ba1a6
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      vendor/raylib/raylib.odin

+ 1 - 1
vendor/raylib/raylib.odin

@@ -274,7 +274,7 @@ Camera3D :: struct {
 	target:   Vector3,            // Camera target it looks-at
 	target:   Vector3,            // Camera target it looks-at
 	up:       Vector3,            // Camera up vector (rotation over its axis)
 	up:       Vector3,            // Camera up vector (rotation over its axis)
 	fovy:     f32,                // Camera field-of-view apperture in Y (degrees) in perspective, used as near plane width in orthographic
 	fovy:     f32,                // Camera field-of-view apperture in Y (degrees) in perspective, used as near plane width in orthographic
-	projection: CameraProjection, // Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC
+	projection: CameraProjection, // Camera projection: `.PERSPECTIVE` or `.ORTHOGRAPHIC`
 }
 }
 
 
 Camera :: Camera3D                    // Camera type fallback, defaults to Camera3D
 Camera :: Camera3D                    // Camera type fallback, defaults to Camera3D