maug
Quick and dirty C mini-augmentation library.
|
Topics | |
Retro3D Textures and Sprites | |
Functions for drawing textured polygons and billboarded sprites. | |
Retro3D Scene Graph | |
Basic 3D scene graph API. | |
Retro3D Transformations | |
Functions for translating/transforming the current scene node. | |
Retro3D Polygons | |
Functions for drawing polygons inside of the current scene. | |
Files | |
file | retro3d.h |
Lower-level retargetable 3D engine wrapper. | |
Data Structures | |
struct | RETRO3D_PROJ_ARGS |
Macros | |
#define | RETRO3D_TRACE_LVL 0 |
#define | RETRO3D_PROJ_ORTHO 0 |
When provided to RETRO3D_PROJ_ARGS::proj, specifies orthographic projection. | |
#define | RETRO3D_PROJ_FRUSTUM 1 |
When provided to RETRO3D_PROJ_ARGS::proj, specifies frustum projection. | |
#define | RETRO3D_TRI_FLAG_NORMAL_X 0x03 |
#define | RETRO3D_TRI_FLAG_NORMAL_Y 0x02 |
#define | RETRO3D_TRI_FLAG_NORMAL_Z 0x01 |
#define | RETRO3D_TRI_FLAG_NORMAL_NEG 0x04 |
Functions | |
void | retro3d_init_projection (struct RETRO3D_PROJ_ARGS *args) |
Setup projection properties to subsequently drawn scenes/frames. | |
void | retro3d_init_bg (RETROFLAT_COLOR color, mfix_t fog_draw_dist, mfix_t fog_density) |
Setup background and fog (when supported) for subsequently drawn scenes. | |
MERROR_RETVAL | retro3d_platform_init () |
void | retro3d_platform_shutdown () |
MERROR_RETVAL | retro3d_check_errors (const char *desc) |
void retro3d_init_bg | ( | RETROFLAT_COLOR | color, |
mfix_t | fog_draw_dist, | ||
mfix_t | fog_density ) |
Setup background and fog (when supported) for subsequently drawn scenes.