LETRX
(Statement)
Assign a value to the X-axis rotation component of the position variable.
LETRX <position variable> = <X-axis rotation angle>
This statement assigns the value of <X-axis rotation angle> on the right-hand side to the X-axis rotation component of <position variable> on the left-hand side.
DEFPOS lp1, lp2, lp3
|
|
DEFSNG lf1, lf2
|
|
LETRX lp1 = POSRX(lp3)
|
'Assign the X-axis rotation component of lp3 to that of lp1
|
LETRX lp2 = lf1 - lf2
|
'Assign the value of (lf1 - lf2) to the X-axis rotation
'component of lp2
|