RETURNS THE ROTATION ANGLE OF THE 3D OBJECT NUMBER N AROUND ITS X AXIS
ACTION
The function O3D_X_ROTATE(N) returns the rotation angle of the 3D object designated by its number N, around its own X axis.
The own X axis of the 3D object is the axis of object which was parallel to the 3D world X axis when the 3D object was created.
The returned value is expressed in degrees.
SYNTAX:
Result=O3D_X_ROTATE(N)
USE ERROR EXAMPLE
rem create a 3D world
scene3d 1
rem create a cube number 1
3d_cube 1,1.5
rem rotate it of 45 degrees around its own X axis
3d_x_rotate 1,45
rem display its rotation angle on its X axis
print o3d_x_rotate(1)
O3D_X_ROTATE()
O3D_X_ROTATE(N)
SEE ALSO
O3D_Y_ROTATE()
O3D_Z_ROTATE()