Browse Source

Use typedef rather than #define in order to avoid issues in application code

pull/798/head
Björn Wahlstrand 6 years ago
parent
commit
7cc8faf7da
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/raylib.h

+ 1
- 1
src/raylib.h View File

@ -278,7 +278,7 @@ typedef struct Camera3D {
int type; // Camera type, defines projection type: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC
} Camera3D;
cp">#define Camera Camera3D // Camera type fallback, defaults to Camera3D
k">typedef Camera3D Camera; // Camera type fallback, defaults to Camera3D
// Camera2D type, defines a 2d camera
typedef struct Camera2D {

Loading…
Cancel
Save