de.rico.editor.datamodel
Class DirectLightData

java.lang.Object
  extended by de.rico.editor.datamodel.AbstractLightData
      extended by de.rico.editor.datamodel.DirectLightData

public class DirectLightData
extends AbstractLightData

This class represents a directional light in the world editors data model.

Author:
Frank Bruns

Constructor Summary
DirectLightData(Point3D dir, Color4f amb, Color4f diff, int lightNr)
           
 
Method Summary
 float[] getDirection()
          Returns the direction of the light
 
Methods inherited from class de.rico.editor.datamodel.AbstractLightData
getAmb, getDiff, getLightNr
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectLightData

public DirectLightData(Point3D dir,
                       Color4f amb,
                       Color4f diff,
                       int lightNr)
Method Detail

getDirection

public float[] getDirection()
Returns the direction of the light

Returns:
direction of the light