HC_Move_Distant_Light
-
void
HC_Move_Distant_Light(Key key, double di, double dj, double dk) - void HC_Move_Distant_Light(Key key, double di, double dj, double dk)
Changes the location, in object space, of a previously-inserted “distant light”.
Move_Distant_Light() allows you to override the original specifications and move a light so that it will be shining from a new absolute direction.
If you insert a light in an individual segment, you can move it around relative to its previous location by calling modelling transformations such as Rotate_Object() . (The “object”, in this case, is the light.) Please note that the Translate_Object() routine will have no effect on a distant light: the light does not have a position, it only has a direction.
HC_Insert_Distant_Light, HC_Rotate_Object, HC_Rotate_Object_Offaxis.Parameters
key: The numeric identifier returned by a previous call to Insert_Distant_Light() .
di: Vector describing the new direction in which the light lies, infinitely far away.
dj: As above.
dk: As above.