Go to: Synopsis. Return value. MEL examples.
rot
vector vector float
rot is undoable, NOT queryable, and NOT editable.
This command returns the position of the point after being rotated the number of radians about the axis. The first argument represents a point, the second an axis and the third an angle in radians.vector | Rotated point |
$u=<<2,-1, 1>>; $v=<<1,1,2>>; rot $u $v 3.14159265358979323846264; // Result: <<-1, 2, 1>> //