Previous: libtsk, Up: C API

### 5.42 libvox

#### 5.42.1 Overview

View lcov test coverage results on http://www.gnu.org/software/liquidwar6/coverage/src/lib/vox/index.html.

#### 5.42.2 API

— Function: lw6vox_renderer_t * lw6vox_renderer_new (lw6ker_game_state_t * game_state)

> game_state: the game state to use

> Creates a voxel rendering object (todo, not implemented yet).

> Return value: renderer object

— Function: void lw6vox_renderer_free (lw6vox_renderer_t * renderer)

> renderer: the renderer object

> Frees a voxel rendering object (todo, not implemented yet).

> Return value: none

— Function: int lw6vox_test (int mode)

> mode: 0 for check only, 1 for full test

> Runs the `vox` module test suite.

> Return value: 1 if test is successfull, 0 on error.