in reply to Re: Question about returning array from sub
in thread Question about returning array from sub
The $data_doc variables carry the angles to the sub. And I would like to return the array which is the rotation matrix. I instead end up returning the references.@rot_mat1=eul2mat($data_doc1[$i],$data_doc1[$i+1],$data_doc1[$i+2]); @rot_mat2=eul2mat($data_doc2[$i],$data_doc2[$i+1],$data_doc2[$i+2]);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Question about returning array from sub
by 1nickt (Canon) on Jul 10, 2015 at 13:12 UTC |