T=TofVL(VL,[ez,force])
VL : | Vertex list or Solid Geometry | |
ez : | ez vector for turning; default is empty | |
force : | if true ez is forced as ez vector; default is false |
T : | HT Matrix of the main axis |
TofVL(rand(4,3)); % turns in all direction
TofVL(rand(4,3)*100,[0 0 1]); % would only change something if ez=[0 0 -1]
TofVL(rand(4,3)*100,[0 0 1],true); % turns only around ez;