Previous: libtsk, Up: C API [Contents][Index]

### 5.49 libvox

#### 5.49.1 Overview

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

#### 5.49.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_register (int mode)

  mode: test mode (bitmask)

  Registers all tests for the libvox module.

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

Function: int lw6vox_test_run (int mode)

  mode: test mode (bitmask)

  Runs the `vox` module test suite, testing most (if not all...) functions.

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

Struct: lw6vox_renderer_s

  Voxel renderer object, not implemented yet.

Member of lw6vox_renderer_s: dummy

  Type: `int`

  Definition: `int lw6vox_renderer_s::dummy`

  Todo...