summaryrefslogtreecommitdiffhomepage
path: root/src/rodeo_math.c
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2023-03-08 00:19:55 -0500
committerrealtradam <[email protected]>2023-03-08 00:19:55 -0500
commit4b410af18ed7e76b42be1d2ab2ebdfe8e5bf97e8 (patch)
treeb6b20aa5470e240189c5e46288d9c261879d345c /src/rodeo_math.c
parente58d0577634b1405a40a4b1ebd0a36323fa81970 (diff)
downloadRodeoKit-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.c8
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))