DemAux
LUA Auxiliary Library for Demoniak3D
» Back to Demoniak3D homepage
» Overview
» Download
» Installation
» Example
» ChangeLog
Overview
DemAux is a LUA library developed to complement and add high level functions to Demoniak3D. DemAux offers, for instance,
mathematics functions or object handling. This library will be updated regularly.
Download
|
DemAux v0.1.0 for Demoniak3D - (175k)
Release date: March 3, 2008
|
Installation
Unzip the archive file and add the DemAux folder into your Demoniak3D project. To use DemAux, just add the following line in
an initialization script:
dofile(HYP_GetBaseDir() .. "DemAux/main.lua" );
Exemple
dofile(HYP_GetBaseDir() .. "DemAux/main.lua" );
v1 = vec3();
v2 = vec3()
v3 = vec3();
v1:set( 0.0, 10, -32.0);
v2:set( 15.0, -10, 2.0);
v3:set( 8.0, -14, 3.5);
v3 = v1 + v2;
HYP_DrawText( 10, 40, 1.0, 1.0, 0.0, v3.to_string() );
ChangeLog
Version 0.1.0 - March 3, 2008