Functions | |
void | Move_Distant_Light (HC_KEY key, double di, double dj, double dk) |
void | DMove_Distant_Light (HC_KEY key, double di, double dj, double dk) |
void Move_Distant_Light | ( | HC_KEY | key, | |
double | di, | |||
double | dj, | |||
double | dk | |||
) |
Changes the location, in object space, of a previously-inserted "distant light".
key | - The numeric identifier returned by a previous call to KInsert_Distant_Light() . | |
di | - Vector describing the new direction in which the light lies, infinitely far away. | |
dj | - As above. | |
dk | - As above. |
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.
void DMove_Distant_Light | ( | HC_KEY | key, | |
double | di, | |||
double | dj, | |||
double | dk | |||
) |
Similar to Move_Distant_Light() but accepts and/or returns double-precision values. This command can only be used when the application source includes the HOOPS double-precision header, hcd.h.
key | - The numeric identifier returned by a previous call to DKInsert_Distant_Light() . | |
di | - Vector describing the new direction in which the light lies, infinitely far away. | |
dj | - As above. | |
dk | - As above. |