WebbotLib AVR library
WebbotLib It just does it
  C++ documentation  C documentation

Matrix3D

Constructs a new matrix variable.
Syntax
Matrix3D()
Matrix3D(m00,m01,m02,m10,m11,m12,m20,m21,m22)
Matrix3D(other)
 
Parameters
TypeNameDescription
'm00'
The value of row 0, column 0
'm01'
The value of row 0, column 1
'm02'
The value of row 0, column 2
'm10'
The value of row 1, column 0
'm11'
The value of row 1, column 1
'm12'
The value of row 1, column 2
'm20'
The value of row 2, column 0
'm21'
The value of row 2, column 1
'm22'
The value of row 2, column 2
'other'
Specifies another Matrix3D
Returns
None
Note
If no parameters are specified then each element of the matrix is set to zero.
Example
To create a matrix that is set to zero:
Matrix3D mat();
To create a matrix with known values:
Matrix3D mat(1,2,3, 4,5,6, 7,8,9);
To create a matrix which is initialised to the same values as another matrix:
Matrix3D mat(matrix);

 

 

Valid XHTML 1.0 Transitional