Merge pull request #798 from bjornwah/master

Use typedef rather than #define in order to avoid issues in applicati…
This commit is contained in:
Ray 2019-04-13 13:17:20 +02:00 committed by GitHub
commit 0ef146438a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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