GsSetFlatLight

Sets a parallel light source

void GsSetFlatLight (
        u_short id,
        GsF_LIGHT *lt
)

Arguments

id Light source number (0,1,2)
lt Pointer to light source information

Return Value

None.

Explanation

The parallel light source specified by id is set according to the GsF_LIGHT information pointed to by lt. Up to three separate light sources can be set (id = 0, 1, 2).

Notes

When the contents of the GsF_LIGHT structure are overwritten, the new values will not be reflected in the light source until GsSetFlatLight() is called.

See Also

GsF_LIGHT, GsSetAmbient()