RETURNS THE SCALE FACTOR OF THE 3D OBJECT NUMBER N ALONG ITS X AXIS
ACTION
The function O3D_X_SCALE(N) returns the scale factor of the 3D object designated by its number N, along its own X axis.
The own X axis of the 3D object is the axis of the object which was parallel to the world X axis when the 3D object was created.
If Returned Value =1, no scale has been made.
If Returned Value >1, the 3D object is stretched on its X axis.
If Returned Value <1, the 3D object is shrinked on its X axis.
SYNTAX:
Result=O3D_X_SCALE(N)
USE ERROR EXAMPLE
rem create a 3D world
scene3d 1
rem create a sphere number 1
3d_sphere 1,2
rem turn it into an ovoid
3d_x_scale 1,3
rem display its scale factor on X axis
print o3d_x_scale(1)
O3D_X_SCALE()
O3D_X_SCALE(N)
SEE ALSO
O3D_Y_SCALE()
O3D_Z_SCALE()