fg_move3d() (legacy function)Win32 DirectX Fastgraph/Light Prototype void fg_move3d (long *transform, long x, long y, long z, int flag); Sub fg_move3d (transform() As Long, ByVal x As Long, ByVal y As Long, ByVal z As Long, ByVal flag As Long) procedure fg_move3d (var transform : longint; x, y, z : longint; flag : integer); Description The fg_move3d() legacy function builds a 3D transformation matrix representing an absolute or relative move by the specified 3D coordinates. Parameters transform is the name of the 12-element transformation matrix containing fixed point 3D rotation and 3D translation values. x, y, and z are the fixed point values defining the new (x,y,z) position in 3D space. flag controls if the move is absolute or relative. If flag is zero, the move is absolute and the specified coordinates become the new translation values in the transformation matrix. If flag is not zero, the move is relative and the coordinates are added to the translation values in the transformation matrix. Return value none Restrictions none Replaced by Floating point 3D geometry system
|
 
copyright 2001 Ted Gruber Software, Inc.