Use typedef rather than #define in order to avoid issues in application code
This commit is contained in:
parent
c1d3ba67f8
commit
7cc8faf7da
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ typedef struct Camera3D {
|
||||||
int type; // Camera type, defines projection type: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC
|
int type; // Camera type, defines projection type: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC
|
||||||
} Camera3D;
|
} 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
|
// Camera2D type, defines a 2d camera
|
||||||
typedef struct Camera2D {
|
typedef struct Camera2D {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue