Previous Up Next

M3setObjAng
Defines an object’s angular position (rY rX rZ) using integer values.
The angular parameter is expressed in Euler Angles.

I M3setObjAng (
S3d _session_
H3d _object_
[I I I] _angles_
)
Parameters

_session_
3D Session
_object_
3D object
_angles_
New angles
Warning : a coordinate set to nil in this vector is understood as the value -1
Return value

0 if successful, otherwise nil
Remark

[0,360] in degrees is mapped as [0,65536] in SCOL integer units.
See Also

M3getObjAng