Function pointlight3d
#include <macaw3d.h>void pointlight3d(
int n,
double x,
double y,
double z,
double radius,
double strength
);
Sets one of the eight lamps for meshes, which lights things near it, fading out at its radius.
Parameters
nint- Which lamp, from 0 to 7.
xdouble- The lamp's position across, in world units.
ydouble- The lamp's height.
zdouble- The lamp's position along z.
radiusdouble- How far its light reaches, in world units. 0 turns it off.
strengthdouble- How bright it is. Less than 0: 1.
In Lamps, fog and lines, with fog3d, nofog3d, project3d, line3d, stats3d.