語法:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | Raz:matrix( [ cos (a),- sin (a),0], [ sin (a), cos (a),0], [0,0,1] ); Rby:matrix( [ cos (b),0, sin (b)], [0,1,0], [- sin (b),0, cos (b)] ); Rrx:matrix( [1,0,0], [0, cos (r),- sin (r)], [0, sin (r), cos (r)] ); Rrx.Rby.Raz; |