mUnit.c File Reference

#include <stdio.h>
#include <math.h>
#include <AR/matrix.h>
Include dependency graph for mUnit.c:

Go to the source code of this file.

Functions

int arMatrixUnit (ARMat *unit)
 Creates a unit matrix.

Function Documentation

int arMatrixUnit ( ARMat unit  ) 

Creates a unit matrix.

Transforms the source parameter matrix to a unit matrix (all values are modified). the unit matrix needs to be allocated.

Parameters:
unit the matrix to transform
Returns:
0 if success, -1 if error

Definition at line 16 of file mUnit.c.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines


artoolkit
Author(s): Gautier Dumonteil
autogenerated on Fri Jan 11 10:05:48 2013