
Functions | |
| void | DMove_Distant_Light (HC_KEY key, double di, double dj, double dk) |
| Similar to Move_Distant_Light() but accepts double-precision parameters. More... | |
| 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". More... | |
| void DMove_Distant_Light | ( | HC_KEY | key, |
| double | di, | ||
| double | dj, | ||
| double | dk | ||
| ) |
Similar to Move_Distant_Light() but accepts double-precision parameters.
| key | - The numeric identifier returned by a previous call to DInsert_Distant_Light() . |
| di | - Vector describing the new direction in which the light lies, infinitely far away. |
| dj | - As above. |
| dk | - As above. |
No additional details. See Move_Distant_Light().
| 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 Insert_Distant_Light() . |
| di | - Vector describing the new direction in which the light lies, infinitely far away. |
| dj | - As above. |
| dk | - As above. |
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.