Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

display_matrix.h File Reference


Detailed Description

LUA matrix extensions.

Author:
Vincent Penne <ziggy@sashipa.com>

Benjamin Gerard <ben@sashipa.com>

Date:
2002/09/25
Id
display_matrix.h,v 1.3 2003/03/19 05:16:16 ben Exp

#include "display_driver.h"

Go to the source code of this file.

Data Structures

struct  lua_matrix_def_t
 lua matrix definition type. More...

struct  lua_matrix_t
 lua matrix type. More...


Defines

#define CHECK_MATRIX(i)
 Check if LUA stack argurment is a matrix or exit.

#define GET_MATRIX(M, MD, i, j, k)
 Get a matrix and its definition from LUA stack with optionnal dimension checking.

#define GET_VECTOR(M, MD, i, k)
 Get a vector (matrix line) and its definition from LUA stack with optionnal dimension checking.

#define GET_MATRIX_OR_VECTOR(M, MD, i, k)
 Get either a matrix or a vector (matrix line) and its definition from LUA stack with optionnal dimension checking.


Functions

int display_matrix_init (void)
 Call it at driver init.

int display_matrix_shutdown (void)
 Call it at driver shutdown.


Variables

int matrix_tag
 LUA tag value for matrix type.


dcplaya documentation version 2.0 Generated on November 2004 by doxygen 1.3.6