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

setScale

Initialises the matrix to represent a scaling factor.
Syntax
Matrix3D. setScale(scale)
 
Parameters
TypeNameDescription
'scale'
The scale factor
Returns
None
Note
For a given scale factor 's' this will change the matrix to:
s,0,0
0,s,0
0,0,s

 

 

Valid XHTML 1.0 Transitional