Skip to content

Commit

Permalink
Add new light type 'ambient' to match light.h
Browse files Browse the repository at this point in the history
  • Loading branch information
dankex committed Nov 16, 2015
1 parent 7cc90c1 commit 40ee575
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions port/jassimp/jassimp/src/jassimp/AiLightType.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,20 @@ public enum AiLightType {
* direction it is pointing to. A good example for a spot light is a light
* 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);



/**
* Utility method for converting from c/c++ based integer enums to java
* enums.<p>
Expand Down

0 comments on commit 40ee575

Please sign in to comment.