diff options
| author | realtradam <[email protected]> | 2023-03-26 00:52:13 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2023-03-26 00:52:13 -0400 |
| commit | 4670ac42a773ea97157f71d78687f79d6ba3c1d9 (patch) | |
| tree | 3c70b7d4073d48ff3c5066c9cf7ab812031a3551 /include/rodeo_types.h | |
| parent | 2577adf913e292a4a515e7dfc4023e37e8177f46 (diff) | |
| download | RodeoKit-4670ac42a773ea97157f71d78687f79d6ba3c1d9.tar.gz RodeoKit-4670ac42a773ea97157f71d78687f79d6ba3c1d9.zip | |
added loading images as well as loding textures
Diffstat (limited to 'include/rodeo_types.h')
| -rw-r--r-- | include/rodeo_types.h | 31 |
1 files changed, 11 insertions, 20 deletions
diff --git a/include/rodeo_types.h b/include/rodeo_types.h index 5f9925e..18c3691 100644 --- a/include/rodeo_types.h +++ b/include/rodeo_types.h @@ -18,7 +18,7 @@ typedef union }; float array[4]; } -rodeo_RGBAFloat_t; +rodeo_color_RGBAFloat_t; typedef union { @@ -32,28 +32,19 @@ typedef union uint32_t rgba; uint8_t array[4]; } -rodeo_RGBA8_t; +rodeo_color_RGBA8_t; -typedef union -{ - struct - { - uint8_t blue; - uint8_t green; - uint8_t red; - uint8_t alpha; - }; - uint32_t bgra; - uint8_t array[4]; -} -rodeo_BGRA8_t; typedef struct { float x; float y; float z; - uint32_t bgra; + rodeo_color_RGBAFloat_t color; + //float red; + //float green; + //float blue; + //float alpha; float texture_x; float texture_y; float texture_id; @@ -106,11 +97,11 @@ typedef union { typedef enum { - rodeo_loglevel_info, - rodeo_loglevel_warning, - rodeo_loglevel_error + rodeo_logLevel_info, + rodeo_logLevel_warning, + rodeo_logLevel_error } -rodeo_loglevel_t; +rodeo_logLevel_t; typedef void |
