summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorRay <[email protected]>2021-03-03 19:36:28 +0100
committerRay <[email protected]>2021-03-03 19:36:28 +0100
commit408f5aedb8d4966aec3eea47524b7460be9446ea (patch)
tree194276900a97ba4b50d0f80ab2319754ec194cd2 /src/raylib.h
parent81908f7960005e35a50d0675e970483989cd7ff2 (diff)
downloadraylib-408f5aedb8d4966aec3eea47524b7460be9446ea.tar.gz
raylib-408f5aedb8d4966aec3eea47524b7460be9446ea.zip
WARNING: BREAKING: RENAMED enum values
RENAMED: CubemapLayoutType and NPatchType
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 21597738..1fb54320 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -809,12 +809,12 @@ typedef enum {
// Cubemap layouts
typedef enum {
- CUBEMAP_AUTO_DETECT = 0, // Automatically detect layout type
- CUBEMAP_LINE_VERTICAL, // Layout is defined by a vertical line with faces
- CUBEMAP_LINE_HORIZONTAL, // Layout is defined by an horizontal line with faces
- CUBEMAP_CROSS_THREE_BY_FOUR, // Layout is defined by a 3x4 cross with cubemap faces
- CUBEMAP_CROSS_FOUR_BY_THREE, // Layout is defined by a 4x3 cross with cubemap faces
- CUBEMAP_PANORAMA // Layout is defined by a panorama image (equirectangular map)
+ CUBEMAP_LAYOUT_AUTO_DETECT = 0, // Automatically detect layout type
+ CUBEMAP_LAYOUT_LINE_VERTICAL, // Layout is defined by a vertical line with faces
+ CUBEMAP_LAYOUT_LINE_HORIZONTAL, // Layout is defined by an horizontal line with faces
+ CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR, // Layout is defined by a 3x4 cross with cubemap faces
+ CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE, // Layout is defined by a 4x3 cross with cubemap faces
+ CUBEMAP_LAYOUT_PANORAMA // Layout is defined by a panorama image (equirectangular map)
} CubemapLayoutType;
// Font type, defines generation method
@@ -867,9 +867,9 @@ typedef enum {
// N-patch types
typedef enum {
- NPT_9PATCH = 0, // Npatch defined by 3x3 tiles
- NPT_3PATCH_VERTICAL, // Npatch defined by 1x3 tiles
- NPT_3PATCH_HORIZONTAL // Npatch defined by 3x1 tiles
+ NPATCH_NINE_PATCH = 0, // Npatch defined by 3x3 tiles
+ NPATCH_THREE_PATCH_VERTICAL, // Npatch defined by 1x3 tiles
+ NPATCH_THREE_PATCH_HORIZONTAL // Npatch defined by 3x1 tiles
} NPatchType;
// Callbacks to be implemented by users