Add new light type 'ambient' to match light.h

pull/690/head
Danke Xie 2015-11-15 13:45:54 -08:00
parent 7cc90c106f
commit 40ee575322
1 changed files with 13 additions and 2 deletions

View File

@ -70,7 +70,18 @@ public enum AiLightType {
* direction it is pointing to. A good example for a spot light is a light * direction it is pointing to. A good example for a spot light is a light
* spot in sport arenas. * spot in sport arenas.
*/ */
SPOT(0x3); SPOT(0x3),
/**
* The generic light level of the world, including the bounces of all other
* lightsources. <p>
*
* Typically, there's at most one ambient light in a scene.
* This light type doesn't have a valid position, direction, or
* other properties, just a color.
*/
AMBIENT(0x4);
/** /**