maug
Quick and dirty C mini-augmentation library.
Loading...
Searching...
No Matches
Retro3D Scene Graph

Basic 3D scene graph API. More...

Collaboration diagram for Retro3D Scene Graph:

Functions

void retro3d_scene_init ()
 Commence drawing a new scene/frame.
 
size_t retro3d_scene_complete ()
 Finish drawing the current scene/frame and display it on-screen.
 
void retro3d_scene_open_node ()
 Denote the beginning of a new scene node, or group of polygons inside the current scene/frame.
 
void retro3d_scene_close_node ()
 Denote the end of the current scene node opened with retro3d_scene_open_node().
 

Detailed Description

Basic 3D scene graph API.

Function Documentation

◆ retro3d_scene_complete()

size_t retro3d_scene_complete ( )

Finish drawing the current scene/frame and display it on-screen.

Returns
The number of polys drawn for this scene/frame.

◆ retro3d_scene_open_node()

void retro3d_scene_open_node ( )

Denote the beginning of a new scene node, or group of polygons inside the current scene/frame.

This can be useful for e.g. applying Retro3D Transformations to a group of polygons, like a spinning waterwheel or a character's moving arm.