Go to: Synopsis. Return value. MEL examples.
rot
vector vector float
rot is undoable, queryable, and 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
In query mode, return type is based on queried flag.
$u=<<2,-1, 1>>; $v=<<1,1,2>>; rot $u $v 3.14159265358979323846264; // Result: <<-1, 2, 1>> //