minor

master
Antonis Geralis 2 years ago
parent
commit
1ffbb70e82
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      raylib-enumerated-types.md

+ 1
- 1
raylib-enumerated-types.md

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

Loading…
Cancel
Save