coord-transf. 2d elements 3d elements non geo scripts functions control statem. attributes various addons 2d-transform. 3d-transform. 3d-complex transf.-stack ADD ROT MUL XFORM
 Name ROT SyntaxROTvectorX, vectorY, vectorZ, angle vectorX, type real vectorY, type real vectorZ, type real angle, type real (degree) Rotates the coordinate system around the vector with the coordinates (0/0/0)/(vectorX/vectorY/vectorZ) about angle degrees. ROT 0,0,1, angle according to ROTZ angle ROT 0,1,0, angle according to ROTY angle ROT 1,0,0, angle according to ROTX angle 3D-script Tips and Tricks To remeber the rotation direction you can use the "right hand rule": If the thumb points into the direction of the positive vector (=rotation axis) and you curve the rest of the fingers a bit into the form of a fist and they show you the direction of rotation for the positive values of angle. GDL-Handbuch 4.5 (DE) p. 22 GDL-Handbuch 5.0 (DE) p. 27 GDL-Handbuch 6.0 (DE) p. 30 GDL-Handbuch 6.5 (DE) p. 24 GDL-Handbuch 7.0 (DE) p. 24 GDL-Handbuch 8.0 (DE) p. 17 GDL-Handbuch 8.1 (DE) p. 17 GDL-Handbuch 9.0 (DE) p. 30 GDL-Handbuch 10.0 (DE) p. 28 GDL-Handbuch 11.0 (DE) p. 28 GDL Reference Guide 9.0 (INT) p. 30 GDL Reference Guide 10.0 (INT) p. 28 GDL Reference Guide 11.0 (INT) p. 28 GDL Cookbook 3.1 (EN/DE) p. 1.8 