mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
minor
@ -1,4 +1,4 @@
|
||||
raylib provides some enumerated types to be used in some functions. You probably noticed that despite being typedef, there is no function referring to those `enum` types, all related parameters are just defined as `int`. This is a design decision and the reason for that is because those enums just intend to be a way to organize similar values definition, I use enums instead of plain defines. You can notice that because there is no enum intended to create variables of that type, just to be used as defined values. Maybe I review this decision decision in a future.
|
||||
raylib provides some enumerated types to be used in some functions. You probably noticed that despite being typedef, there is no function referring to those `enum` types, all related parameters are just defined as `int`. This is a design decision and the reason for that is because those enums just intend to be a way to organize similar values definition, I use enums instead of plain defines. You can notice that because there is no enum intended to create variables of that type, just to be used as defined values. Maybe I review this decision in a future.
|
||||
|
||||
Here it is the list with the provided enums and the functions intended to use them.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user