minor

Antonis Geralis
2022-09-25 22:48:35 +03:00
parent 2f7bf31f6a
commit 1ffbb70e82

@ -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.