de.javagl.swogl.scene
Class LightSetups

java.lang.Object
  extended by de.javagl.swogl.scene.LightSetups

public class LightSetups
extends java.lang.Object

Utility methods for configuring LightSetups


Method Summary
static void addDefaultLights(LightSetup lightSetup)
          Add two default Lights to the given LightSetup: One bright, white directional light from the upper left front, and one slightly darker white directional light from the lower right back.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addDefaultLights

public static void addDefaultLights(LightSetup lightSetup)
Add two default Lights to the given LightSetup: One bright, white directional light from the upper left front, and one slightly darker white directional light from the lower right back.

Parameters:
lightSetup - The LightSetup to configure
Throws:
java.lang.IllegalArgumentException - If the given LightSetup can not store 2 additional lights.