| njTranslateLight | Japanese |
|---|---|
<-|INDEX|-> | |
| Applies a matrix that gives parallel translation along each axis. | |
#include <NINJA.H> void njTranslateLight( *ptr, tx, ty, tz ) NJS_LIGHT *ptr Float tx Float ty Float tz
#include <NINJA.H> ........... NJS_LIGHT light; njInitSystem(); njCreateLight(&light, NJD_POINT_LIGHT); ........... njClearMatrix(); /* Translate with elements of (10,0,-10) */ njTranslateLight(&light, 10.f, 0.f, -10.f);
| njTranslateLight | <-|INDEX|-> |
|---|