diff options
| author | realtradam <[email protected]> | 2023-01-11 22:09:48 -0500 |
|---|---|---|
| committer | realtradam <[email protected]> | 2023-01-11 22:09:48 -0500 |
| commit | b172c2a6b22796dc16c059979d2ec6108b0402e4 (patch) | |
| tree | 9eda4db6d584b4c0415d30c9b5295aaf541f938b /src/rodeo_math.c | |
| parent | b4bc89485ab18ccdc2e381e3e3f2c3bb5e346e1e (diff) | |
| download | RodeoKit-b172c2a6b22796dc16c059979d2ec6108b0402e4.tar.gz RodeoKit-b172c2a6b22796dc16c059979d2ec6108b0402e4.zip | |
isolated dependencies into seperate compilation unit, added basic logging
Diffstat (limited to 'src/rodeo_math.c')
| -rw-r--r-- | src/rodeo_math.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rodeo_math.c b/src/rodeo_math.c index 99f61af..248e600 100644 --- a/src/rodeo_math.c +++ b/src/rodeo_math.c @@ -1,10 +1,12 @@ + +// public internal #include "rodeo.h" #include "rodeo_math.h" uint32_t Rodeo__\ Math__\ -color_rgba_to_uint32(const struct Rodeo__color_rgba_t color) +color_rgba_to_uint32(const Rodeo__color_rgba_t color) { return ((uint32_t)(uint8_t)(color.red * 255)) |
