HC_Translate_Object
-
void
HC_Translate_Object(double x, double y, double z) - void HC_Translate_Object(double x, double y, double z)
Moves objects about within the user data space.
Translate_Object() is a modelling transformation - it should be thought of as changing the object you have drawn. For changing your point of view, a better routine is Dolly_Camera() .
The mathematical transform required is
HC_Scale_Object, HC_Rotate_Object, HC_Append_Modelling_Matrix, HC_Set_Modelling_Matrix, HC_Dolly_Camera, HC_Pan_Camera.Parameters
x: Distance to move along the X -axis. Positive values are towards positive X, of course.
y: Distance to move along the Y -axis.
z: Likewise, along the Z -axis.