vis/animation/utils/
mg_translate.pro
Routines
top mg_translate
result = mg_translate(x, y, z)
Compute a transformation matrix representing a translation.
@returns fltarr(4, 4) @param x {in}{required}{type=float} amount to translate target in x-direction @param y {in}{required}{type=float} amount to translate target in y-direction @param z {in}{required}{type=float} amount to translate target in z-direction
Parameters
- x
- y
- z
File attributes
Modification date: | Wed May 14 15:07:14 2014 |
Lines: | 8 |
Contact me if you have enhancement requests or bug fixes.