diff options
| author | realtradam <[email protected]> | 2023-03-08 00:19:55 -0500 |
|---|---|---|
| committer | realtradam <[email protected]> | 2023-03-08 00:19:55 -0500 |
| commit | 4b410af18ed7e76b42be1d2ab2ebdfe8e5bf97e8 (patch) | |
| tree | b6b20aa5470e240189c5e46288d9c261879d345c /src/rodeo_math.c | |
| parent | e58d0577634b1405a40a4b1ebd0a36323fa81970 (diff) | |
| download | RodeoKit-4b410af18ed7e76b42be1d2ab2ebdfe8e5bf97e8.tar.gz RodeoKit-4b410af18ed7e76b42be1d2ab2ebdfe8e5bf97e8.zip | |
Continued cleanup and refactoring. Added string type.
Diffstat (limited to 'src/rodeo_math.c')
| -rw-r--r-- | src/rodeo_math.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rodeo_math.c b/src/rodeo_math.c index f45c6e6..4985cd1 100644 --- a/src/rodeo_math.c +++ b/src/rodeo_math.c @@ -1,12 +1,12 @@ // public internal #include "rodeo.h" -#include "rodeo_math.h" + +// system +#include <stdint.h> uint32_t -Rodeo__\ -Math__\ -color_rgba_to_uint32(const rodeo_rgba_t color) +rodeo_rgba_to_uint32(const rodeo_rgba_t color) { return ((uint32_t)(uint8_t)(color.red * 255)) |
