mUnit.c File Reference
#include <stdio.h>
#include <math.h>
#include <AR/matrix.h>
Go to the source code of this file.
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.