summaryrefslogtreecommitdiffstats
path: root/doc/javadoc/net/java/joglutils/lighting/Light.html
diff options
context:
space:
mode:
authoreteq <[email protected]>2007-01-18 04:07:44 +0000
committereteq <[email protected]>2007-01-18 04:07:44 +0000
commitba7da9b7464c0d81d8f1b0f7ea89555e28b1c1ba (patch)
treea7020a2fc2351a514672152297b5f8d72096c55d /doc/javadoc/net/java/joglutils/lighting/Light.html
parentf2230c98234304fa853240c8a1eecdcf37f26dc5 (diff)
reorganized build, made some webstart changes
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/joglutils/trunk@33 83d24430-9974-4f80-8418-2cc3294053b9
Diffstat (limited to 'doc/javadoc/net/java/joglutils/lighting/Light.html')
-rw-r--r--doc/javadoc/net/java/joglutils/lighting/Light.html1642
1 files changed, 0 insertions, 1642 deletions
diff --git a/doc/javadoc/net/java/joglutils/lighting/Light.html b/doc/javadoc/net/java/joglutils/lighting/Light.html
deleted file mode 100644
index 4765631..0000000
--- a/doc/javadoc/net/java/joglutils/lighting/Light.html
+++ /dev/null
@@ -1,1642 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--NewPage-->
-<HTML>
-<HEAD>
-<!-- Generated by javadoc (build 1.5.0_06) on Thu Aug 17 01:51:17 CDT 2006 -->
-<TITLE>
-Light
-</TITLE>
-
-<META NAME="keywords" CONTENT="net.java.joglutils.lighting.Light class">
-
-<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
-
-<SCRIPT type="text/javascript">
-function windowTitle()
-{
- parent.document.title="Light";
-}
-</SCRIPT>
-<NOSCRIPT>
-</NOSCRIPT>
-
-</HEAD>
-
-<BODY BGCOLOR="white" onload="windowTitle();">
-
-
-<!-- ========= START OF TOP NAVBAR ======= -->
-<A NAME="navbar_top"><!-- --></A>
-<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_top_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Light.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../../net/java/joglutils/lighting/ColorButton.html" title="class in net.java.joglutils.lighting"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../index.html?net/java/joglutils/lighting/Light.html" target="_top"><B>FRAMES</B></A> &nbsp;
-&nbsp;<A HREF="Light.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
-&nbsp;<SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_top"></A>
-<!-- ========= END OF TOP NAVBAR ========= -->
-
-<HR>
-<!-- ======== START OF CLASS DATA ======== -->
-<H2>
-<FONT SIZE="-1">
-net.java.joglutils.lighting</FONT>
-<BR>
-Class Light</H2>
-<PRE>
-java.lang.Object
- <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>net.java.joglutils.lighting.Light</B>
-</PRE>
-<HR>
-<DL>
-<DT><PRE>public class <B>Light</B><DT>extends java.lang.Object</DL>
-</PRE>
-
-<P>
-This class encapsulates the settings for an OpenGL light. It has two modes:
- <br> 1. if an object implementing <CODE>GL</CODE> is attached, the OpenGL state is
- updated as changes to this Light are made, or on enable() or apply() calls.
- <br> 2.if no object is atttached, enable(GL) and apply(GL) applies settings, but the OpenGL state
- is not altered when this Light's settings are changed.
- <br> Note: GL_LIGHTING must be enabled in the OpenGL context by the user - this object will not do so.
-<P>
-
-<P>
-<HR>
-
-<P>
-
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-
-<A NAME="constructor_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Constructor Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#Light()">Light</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new instance of Light with the default settings.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#Light(javax.media.opengl.GL)">Light</A></B>(javax.media.opengl.GL&nbsp;gl)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new instance of Light with default settings attached to the specified <CODE>GL</CODE> Context</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#Light(javax.media.opengl.GL, int)">Light</A></B>(javax.media.opengl.GL&nbsp;gl,
- int&nbsp;lightNumber)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new instance of Light with default settings attached to the specified <CODE>GL</CODE> Context with an explicit light number</TD>
-</TR>
-</TABLE>
-&nbsp;
-<!-- ========== METHOD SUMMARY =========== -->
-
-<A NAME="method_summary"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Method Summary</B></FONT></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#apply()">apply</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Applies the settings on this Light to the attached <CODE>GL</CODE> Context.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#apply(javax.media.opengl.GL)">apply</A></B>(javax.media.opengl.GL&nbsp;gl)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Applies the settings on this Light to the specified OpenGL context,
- using the light number stored in the Light.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#apply(javax.media.opengl.GL, int)">apply</A></B>(javax.media.opengl.GL&nbsp;gl,
- int&nbsp;lightNumber)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Applies the settings on this Light to the specified OpenGL context,
- using the requested light number.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#detachGL()">detachGL</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Detaches the currently attached OpenGL context from this object</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#disable()">disable</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Disables this Light on the attached <CODE>GL</CODE> Context.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#disable(javax.media.opengl.GL)">disable</A></B>(javax.media.opengl.GL&nbsp;gl)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Disables the light number stored in this Light on the specified OpenGL Context.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#disable(javax.media.opengl.GL, int)">disable</A></B>(javax.media.opengl.GL&nbsp;gl,
- int&nbsp;lightNumber)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Disables the requested light on the specified OpenGL Context.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#enable()">enable</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enables this Light on the attached <CODE>GL</CODE> Context.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#enable(javax.media.opengl.GL)">enable</A></B>(javax.media.opengl.GL&nbsp;gl)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enables the light number stored in this Light on the specified OpenGL Context.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#enable(javax.media.opengl.GL, int)">enable</A></B>(javax.media.opengl.GL&nbsp;gl,
- int&nbsp;lightNumber)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enables the requested light on the specified OpenGL Context.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>protected &nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#finalize()">finalize</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;java.awt.Color</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#getAmbient()">getAmbient</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the ambient color for this Light.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;javax.media.opengl.GL</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#getAttachedGL()">getAttachedGL</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the OpenGL context attached to this Lighting object</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;float</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#getConstantAttenuation()">getConstantAttenuation</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the coefficient of the constant term in the attenuation equation for this Light.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;java.awt.Color</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#getDiffuse()">getDiffuse</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the diffuse color for this Light.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#getGLLightIdentifier()">getGLLightIdentifier</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines the OpenGL light identifier associated with this Light.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#getLightNumber()">getLightNumber</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines the number of the light associated with this Light.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;float[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#getLightPosition()">getLightPosition</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the direction vector for this light.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;float</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#getLightW()">getLightW</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the w-component of this Light.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;float</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#getLinearAttenuation()">getLinearAttenuation</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the coefficient of the linear term in the attenuation equation for this Light.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;float</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#getQuadraticAttenuation()">getQuadraticAttenuation</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the coefficient of the quadratic term in the attenuation equation for this Light.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;java.awt.Color</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#getSpecular()">getSpecular</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the specular color for this Light.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;float</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#getSpotCutoff()">getSpotCutoff</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the spotlight cutoff angle for this Light.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;float[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#getSpotDirection()">getSpotDirection</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves a vector indicating the spotlight direction used in this Light.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;float</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#getSpotExponent()">getSpotExponent</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the spotlight exponent in this Light.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#hasFreeLights(javax.media.opengl.GL)">hasFreeLights</A></B>(javax.media.opengl.GL&nbsp;gl)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines if there is space in a specified OpenGL context for another Light to be attached</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#idToNum(int)">idToNum</A></B>(int&nbsp;lightID)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts the specified OpenGL light ID number to a number</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#initializePhongShader()">initializePhongShader</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initializes Phong shading mode for this Light (instead of the fixed functionality Gouraud shading) on the current OpenGL context.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#initializePhongShader(javax.media.opengl.GL)">initializePhongShader</A></B>(javax.media.opengl.GL&nbsp;gl)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initializes Phong shading mode for this Light (instead of the fixed functionality Gouraud shading).</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#isAmbientPhongColorMaterial()">isAmbientPhongColorMaterial</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines if color material is used for ambient in the Phong shader</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#isAttached()">isAttached</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines if an OpenGL context is attached.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#isDiffusePhongColorMaterial()">isDiffusePhongColorMaterial</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines if color material is used for diffuse in the Phong shader</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;boolean</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#isPhongShaded()">isPhongShaded</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tells if this Light is using Phong shading</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#makeDirectional()">makeDirectional</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets this Light so that the light seems to be infinitely far away in terms of some of the calculations.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#maxNumberOfLightsInGL(javax.media.opengl.GL)">maxNumberOfLightsInGL</A></B>(javax.media.opengl.GL&nbsp;gl)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines the maximum number of lights in the specified <CODE>GL</CODE> context</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;int</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#numToID(int)">numToID</A></B>(int&nbsp;lightNum)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines the OpenGL ID for the specified light number</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#removePhongShader()">removePhongShader</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the Phong Shader program from the current GL Context</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>static&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#removePhongShader(javax.media.opengl.GL)">removePhongShader</A></B>(javax.media.opengl.GL&nbsp;gl)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the Phong Shader program from the specified GL Context</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#retrieve()">retrieve</A></B>()</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reconfigure the settings for this Light from the state of the attached
- <CODE>GL</CODE> Context.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#retrieve(javax.media.opengl.GL)">retrieve</A></B>(javax.media.opengl.GL&nbsp;gl)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reconfigures the settings on this Light from the state of the specified
- OpenGL context, using the light number stored in the Light.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#retrieve(javax.media.opengl.GL, int)">retrieve</A></B>(javax.media.opengl.GL&nbsp;gl,
- int&nbsp;lightNumber)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reconfigures the settings on this Light from the state of the specified
- OpenGL context, using the requested light number.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#setAmbient(java.awt.Color)">setAmbient</A></B>(java.awt.Color&nbsp;ambient)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the ambient (light "filling the room") color for this Light.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#setAttachedGL(javax.media.opengl.GL)">setAttachedGL</A></B>(javax.media.opengl.GL&nbsp;gl)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Attached the specified OpenGL context to this object</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#setConstantAttenuation(float)">setConstantAttenuation</A></B>(float&nbsp;constantAttenuation)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the coefficient of the constant term in the attenuation equation for this Light.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#setDiffuse(java.awt.Color)">setDiffuse</A></B>(java.awt.Color&nbsp;diffuse)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the diffuse ("dull reflection") color for this Light.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#setLightID(int)">setLightID</A></B>(int&nbsp;lightID)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the OpenGL light to use in subsequent method calls from a GL identifier</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#setLightNumber(int)">setLightNumber</A></B>(int&nbsp;lightNumber)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the number of the OpenGL light to use in subsequent method calls</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#setLightPosition(float[])">setLightPosition</A></B>(float[]&nbsp;lightPosition)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specifies the direction vector for this Light.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#setLightPosition(float, float, float)">setLightPosition</A></B>(float&nbsp;lightx,
- float&nbsp;lighty,
- float&nbsp;lightz)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specifies the direction vector for this Light.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#setLightW(float)">setLightW</A></B>(float&nbsp;lightW)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specifies the w-component to be used for this Light.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#setLinearAttenuation(float)">setLinearAttenuation</A></B>(float&nbsp;linearAttenuation)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the coefficient of the linear term in the attenuation equation for this Light.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#setPhongColorMaterial(boolean, boolean)">setPhongColorMaterial</A></B>(boolean&nbsp;ambient,
- boolean&nbsp;diffuse)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets whether or not the opengl color should be used for the phong color shader</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#setPhongShaded(boolean)">setPhongShaded</A></B>(boolean&nbsp;usePhongShading)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets if phong per-fragment shading (as opposed to fixed-functionality per-vertex shading) is to be used with this Light.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#setQuadraticAttenuation(float)">setQuadraticAttenuation</A></B>(float&nbsp;quadraticAttenuation)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the coefficient of the quadratic term in the attenuation equation for this Light.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#setSpecular(java.awt.Color)">setSpecular</A></B>(java.awt.Color&nbsp;specular)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the specular ("shiny reflection") color for this Light.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#setSpotCutoff(float)">setSpotCutoff</A></B>(float&nbsp;spotCutoff)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the spotlight cutoff angle for this Light.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#setSpotDirection(float[])">setSpotDirection</A></B>(float[]&nbsp;spotDirection)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the spotlight direction for this Light.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#setSpotDirection(float, float, float)">setSpotDirection</A></B>(float&nbsp;spotx,
- float&nbsp;spoty,
- float&nbsp;spotz)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the spotlight direction for this Light.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>&nbsp;void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../net/java/joglutils/lighting/Light.html#setSpotExponent(float)">setSpotExponent</A></B>(float&nbsp;spotExponent)</CODE>
-
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the spotlight exponent in this Light.</TD>
-</TR>
-</TABLE>
-&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
-</TR>
-</TABLE>
-&nbsp;
-<P>
-
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-
-<A NAME="constructor_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Constructor Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="Light()"><!-- --></A><H3>
-Light</H3>
-<PRE>
-public <B>Light</B>()</PRE>
-<DL>
-<DD>Creates a new instance of Light with the default settings.
-<P>
-</DL>
-<HR>
-
-<A NAME="Light(javax.media.opengl.GL)"><!-- --></A><H3>
-Light</H3>
-<PRE>
-public <B>Light</B>(javax.media.opengl.GL&nbsp;gl)
- throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
-<DL>
-<DD>Creates a new instance of Light with default settings attached to the specified <CODE>GL</CODE> Context
-<P>
-<DL>
-<DT><B>Parameters:</B><DD><CODE>gl</CODE> - the OpenGL context to attach the light to
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the light number is invalid or is already in use by another Light. Light is detached from any OpenGL Context.</DL>
-</DL>
-<HR>
-
-<A NAME="Light(javax.media.opengl.GL, int)"><!-- --></A><H3>
-Light</H3>
-<PRE>
-public <B>Light</B>(javax.media.opengl.GL&nbsp;gl,
- int&nbsp;lightNumber)
- throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
-<DL>
-<DD>Creates a new instance of Light with default settings attached to the specified <CODE>GL</CODE> Context with an explicit light number
-<P>
-<DL>
-<DT><B>Parameters:</B><DD><CODE>gl</CODE> - the OpenGL context to attach the light to<DD><CODE>lightNumber</CODE> - the light number to be used (must be on [0,7])
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the light number is invalid or is already in use by another Light. Light is detached from any OpenGL Context.</DL>
-</DL>
-
-<!-- ============ METHOD DETAIL ========== -->
-
-<A NAME="method_detail"><!-- --></A>
-<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
-<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
-<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
-<B>Method Detail</B></FONT></TH>
-</TR>
-</TABLE>
-
-<A NAME="finalize()"><!-- --></A><H3>
-finalize</H3>
-<PRE>
-protected void <B>finalize</B>()</PRE>
-<DL>
-<DD><DL>
-<DT><B>Overrides:</B><DD><CODE>finalize</CODE> in class <CODE>java.lang.Object</CODE></DL>
-</DD>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getGLLightIdentifier()"><!-- --></A><H3>
-getGLLightIdentifier</H3>
-<PRE>
-public int <B>getGLLightIdentifier</B>()</PRE>
-<DL>
-<DD>Determines the OpenGL light identifier associated with this Light. If no GL context is attached to this
- object, the result is undefined (although generally reflects the last light used)
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the OpenGL identifier for this light</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getLightNumber()"><!-- --></A><H3>
-getLightNumber</H3>
-<PRE>
-public int <B>getLightNumber</B>()</PRE>
-<DL>
-<DD>Determines the number of the light associated with this Light. If no GL context is attached to this
- object, the result is undefined (although generally reflects the last light used)
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>a number on [0,7] representing which light is used</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setLightNumber(int)"><!-- --></A><H3>
-setLightNumber</H3>
-<PRE>
-public void <B>setLightNumber</B>(int&nbsp;lightNumber)
- throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
-<DL>
-<DD>Sets the number of the OpenGL light to use in subsequent method calls
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>lightNumber</CODE> - the light number to apply to this Light (must be on [0,7])
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - in use by another Light object on the attached OpenGL Context. Light is detached from any OpenGL Context.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setLightID(int)"><!-- --></A><H3>
-setLightID</H3>
-<PRE>
-public void <B>setLightID</B>(int&nbsp;lightID)
- throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
-<DL>
-<DD>Sets the OpenGL light to use in subsequent method calls from a GL identifier
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>lightID</CODE> - the OpenGL light ID (must be of the GL_LIGHTn family)
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the input is not a valid light or the light is in use by another Light on the attached OpenGL Context. Light is detached from any OpenGL Context.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setAttachedGL(javax.media.opengl.GL)"><!-- --></A><H3>
-setAttachedGL</H3>
-<PRE>
-public void <B>setAttachedGL</B>(javax.media.opengl.GL&nbsp;gl)
- throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
-<DL>
-<DD>Attached the specified OpenGL context to this object
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>gl</CODE> - the OpenGL context to attach this to
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the specified context has no free lights. Light is detached from any OpenGL Context.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getAttachedGL()"><!-- --></A><H3>
-getAttachedGL</H3>
-<PRE>
-public javax.media.opengl.GL <B>getAttachedGL</B>()</PRE>
-<DL>
-<DD>Returns the OpenGL context attached to this Lighting object
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the attached OpenGL context, or null if there is no attached context</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="detachGL()"><!-- --></A><H3>
-detachGL</H3>
-<PRE>
-public void <B>detachGL</B>()</PRE>
-<DL>
-<DD>Detaches the currently attached OpenGL context from this object
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isAttached()"><!-- --></A><H3>
-isAttached</H3>
-<PRE>
-public boolean <B>isAttached</B>()</PRE>
-<DL>
-<DD>Determines if an OpenGL context is attached.
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if an OpenGL context is attached to this object.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="apply()"><!-- --></A><H3>
-apply</H3>
-<PRE>
-public void <B>apply</B>()</PRE>
-<DL>
-<DD>Applies the settings on this Light to the attached <CODE>GL</CODE> Context.
- Note that this will not apply Phong Shader settings.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="retrieve()"><!-- --></A><H3>
-retrieve</H3>
-<PRE>
-public void <B>retrieve</B>()</PRE>
-<DL>
-<DD>Reconfigure the settings for this Light from the state of the attached
- <CODE>GL</CODE> Context. Note that this will not retrieve Phong Shader settings.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="enable()"><!-- --></A><H3>
-enable</H3>
-<PRE>
-public void <B>enable</B>()</PRE>
-<DL>
-<DD>Enables this Light on the attached <CODE>GL</CODE> Context.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="disable()"><!-- --></A><H3>
-disable</H3>
-<PRE>
-public void <B>disable</B>()</PRE>
-<DL>
-<DD>Disables this Light on the attached <CODE>GL</CODE> Context.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="apply(javax.media.opengl.GL)"><!-- --></A><H3>
-apply</H3>
-<PRE>
-public void <B>apply</B>(javax.media.opengl.GL&nbsp;gl)
- throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
-<DL>
-<DD>Applies the settings on this Light to the specified OpenGL context,
- using the light number stored in the Light. Note that this will not apply Phong Shader settings.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>gl</CODE> - the OpenGL context to use.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the light number stored in this Light is invalid on the specified context.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="retrieve(javax.media.opengl.GL)"><!-- --></A><H3>
-retrieve</H3>
-<PRE>
-public void <B>retrieve</B>(javax.media.opengl.GL&nbsp;gl)
- throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
-<DL>
-<DD>Reconfigures the settings on this Light from the state of the specified
- OpenGL context, using the light number stored in the Light. Note that this will not retrieve Phong Shader settings.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>gl</CODE> - the OpenGL context to use.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the light number stored in this Light is invalid on the specified context.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="enable(javax.media.opengl.GL)"><!-- --></A><H3>
-enable</H3>
-<PRE>
-public void <B>enable</B>(javax.media.opengl.GL&nbsp;gl)
- throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
-<DL>
-<DD>Enables the light number stored in this Light on the specified OpenGL Context.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>gl</CODE> - the OpenGL context to use.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the light number stored in this Light is invalid on the specified context.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="disable(javax.media.opengl.GL)"><!-- --></A><H3>
-disable</H3>
-<PRE>
-public void <B>disable</B>(javax.media.opengl.GL&nbsp;gl)
- throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
-<DL>
-<DD>Disables the light number stored in this Light on the specified OpenGL Context.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>gl</CODE> - the OpenGL context to use.
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the light number stored in this Light is invalid on the specified context.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="apply(javax.media.opengl.GL, int)"><!-- --></A><H3>
-apply</H3>
-<PRE>
-public void <B>apply</B>(javax.media.opengl.GL&nbsp;gl,
- int&nbsp;lightNumber)
- throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
-<DL>
-<DD>Applies the settings on this Light to the specified OpenGL context,
- using the requested light number. Note that this will not apply Phong Shader settings.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>gl</CODE> - the OpenGL context to use.<DD><CODE>lightNumber</CODE> - the number of the light to use (should be on [0,7]).
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the requested light is not valid on the specified context.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="retrieve(javax.media.opengl.GL, int)"><!-- --></A><H3>
-retrieve</H3>
-<PRE>
-public void <B>retrieve</B>(javax.media.opengl.GL&nbsp;gl,
- int&nbsp;lightNumber)
- throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
-<DL>
-<DD>Reconfigures the settings on this Light from the state of the specified
- OpenGL context, using the requested light number. Note that this will not retrieve Phong Shader settings.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>gl</CODE> - the OpenGL context to use.<DD><CODE>lightNumber</CODE> - the number of the light to use (should be on [0,7]).
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the requested light is not valid on the specified context.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="enable(javax.media.opengl.GL, int)"><!-- --></A><H3>
-enable</H3>
-<PRE>
-public void <B>enable</B>(javax.media.opengl.GL&nbsp;gl,
- int&nbsp;lightNumber)
- throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
-<DL>
-<DD>Enables the requested light on the specified OpenGL Context.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>gl</CODE> - the OpenGL context to use.<DD><CODE>lightNumber</CODE> - the number of the light to use (should be on [0,7]).
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the requested light is not valid on the specified context.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="disable(javax.media.opengl.GL, int)"><!-- --></A><H3>
-disable</H3>
-<PRE>
-public void <B>disable</B>(javax.media.opengl.GL&nbsp;gl,
- int&nbsp;lightNumber)
- throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
-<DL>
-<DD>Disables the requested light on the specified OpenGL Context.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>gl</CODE> - the OpenGL context to use.<DD><CODE>lightNumber</CODE> - the number of the light to use (should be on [0,7]).
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the requested light is not valid on the specified context.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setAmbient(java.awt.Color)"><!-- --></A><H3>
-setAmbient</H3>
-<PRE>
-public void <B>setAmbient</B>(java.awt.Color&nbsp;ambient)</PRE>
-<DL>
-<DD>Sets the ambient (light "filling the room") color for this Light. Default is {0,0,0,1}.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>ambient</CODE> - the Color to be copied into this Light. Later changes to the Color object will not be reflected in the Light.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getAmbient()"><!-- --></A><H3>
-getAmbient</H3>
-<PRE>
-public java.awt.Color <B>getAmbient</B>()</PRE>
-<DL>
-<DD>Retrieves the ambient color for this Light.
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>a copy of the color used in this Light.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setDiffuse(java.awt.Color)"><!-- --></A><H3>
-setDiffuse</H3>
-<PRE>
-public void <B>setDiffuse</B>(java.awt.Color&nbsp;diffuse)</PRE>
-<DL>
-<DD>Sets the diffuse ("dull reflection") color for this Light. Default is {1,1,1,1}.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>diffuse</CODE> - the Color to be copied into this Light. Later changes to the Color object will not be reflected in the Light.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getDiffuse()"><!-- --></A><H3>
-getDiffuse</H3>
-<PRE>
-public java.awt.Color <B>getDiffuse</B>()</PRE>
-<DL>
-<DD>Retrieves the diffuse color for this Light.
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>a copy of the color used in this Light.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setSpecular(java.awt.Color)"><!-- --></A><H3>
-setSpecular</H3>
-<PRE>
-public void <B>setSpecular</B>(java.awt.Color&nbsp;specular)</PRE>
-<DL>
-<DD>Sets the specular ("shiny reflection") color for this Light. Default is {1,1,1,1}.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>specular</CODE> - the Color to be copied into this Light. Later changes to the Color object will not be reflected in the Light.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getSpecular()"><!-- --></A><H3>
-getSpecular</H3>
-<PRE>
-public java.awt.Color <B>getSpecular</B>()</PRE>
-<DL>
-<DD>Retrieves the specular color for this Light.
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>a copy of the color used in this Light.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setLightPosition(float[])"><!-- --></A><H3>
-setLightPosition</H3>
-<PRE>
-public void <B>setLightPosition</B>(float[]&nbsp;lightPosition)</PRE>
-<DL>
-<DD>Specifies the direction vector for this Light.
- (i.e. this the first 3 components specified when setting GL_POSITION with glLight)
- Default is {0,0,1}.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>lightPosition</CODE> - an array of three components in {x,y,z} format to be copied into the Light.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setLightPosition(float, float, float)"><!-- --></A><H3>
-setLightPosition</H3>
-<PRE>
-public void <B>setLightPosition</B>(float&nbsp;lightx,
- float&nbsp;lighty,
- float&nbsp;lightz)</PRE>
-<DL>
-<DD>Specifies the direction vector for this Light.
- (i.e. this the first 3 components specified when setting GL_POSITION with glLight)
- Default is {0,0,1}.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>lightx</CODE> - the x component of the light position<DD><CODE>lighty</CODE> - the y component of the light position<DD><CODE>lightz</CODE> - the z component of the light position</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getLightPosition()"><!-- --></A><H3>
-getLightPosition</H3>
-<PRE>
-public float[] <B>getLightPosition</B>()</PRE>
-<DL>
-<DD>Retrieves the direction vector for this light.
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>a copy of the position of this Light</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setSpotDirection(float[])"><!-- --></A><H3>
-setSpotDirection</H3>
-<PRE>
-public void <B>setSpotDirection</B>(float[]&nbsp;spotDirection)</PRE>
-<DL>
-<DD>Sets the spotlight direction for this Light. Default is {0,0,-1}.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>spotDirection</CODE> - A 3-element array in {x,y,z} format specifying the spotlight direction vector.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setSpotDirection(float, float, float)"><!-- --></A><H3>
-setSpotDirection</H3>
-<PRE>
-public void <B>setSpotDirection</B>(float&nbsp;spotx,
- float&nbsp;spoty,
- float&nbsp;spotz)</PRE>
-<DL>
-<DD>Sets the spotlight direction for this Light. Default is {0,0,-1}.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>spotx</CODE> - the x coordinate of the spotlight direction vector.<DD><CODE>spoty</CODE> - the y coordinate of the spotlight direction vector.<DD><CODE>spotz</CODE> - the z coordinate of the spotlight direction vector.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getSpotDirection()"><!-- --></A><H3>
-getSpotDirection</H3>
-<PRE>
-public float[] <B>getSpotDirection</B>()</PRE>
-<DL>
-<DD>Retrieves a vector indicating the spotlight direction used in this Light.
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>a copy of the spotlight direction of this Light</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setLightW(float)"><!-- --></A><H3>
-setLightW</H3>
-<PRE>
-public void <B>setLightW</B>(float&nbsp;lightW)</PRE>
-<DL>
-<DD>Specifies the w-component to be used for this Light. Default is 0.
- (i.e. this the last component specified when setting GL_POSITION with glLight)
- If 0, this light is treated as a direction source.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>lightW</CODE> - the distance to be applied.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getLightW()"><!-- --></A><H3>
-getLightW</H3>
-<PRE>
-public float <B>getLightW</B>()</PRE>
-<DL>
-<DD>Retrieves the w-component of this Light.
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the component. If 0, this Light is a directional source.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="makeDirectional()"><!-- --></A><H3>
-makeDirectional</H3>
-<PRE>
-public void <B>makeDirectional</B>()</PRE>
-<DL>
-<DD>Sets this Light so that the light seems to be infinitely far away in terms of some of the calculations.
-<P>
-<DD><DL>
-</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setSpotCutoff(float)"><!-- --></A><H3>
-setSpotCutoff</H3>
-<PRE>
-public void <B>setSpotCutoff</B>(float&nbsp;spotCutoff)</PRE>
-<DL>
-<DD>Sets the spotlight cutoff angle for this Light. Default is 180.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>spotCutoff</CODE> - the angle to use.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getSpotCutoff()"><!-- --></A><H3>
-getSpotCutoff</H3>
-<PRE>
-public float <B>getSpotCutoff</B>()</PRE>
-<DL>
-<DD>Retrieves the spotlight cutoff angle for this Light.
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the angle used in this Light.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setSpotExponent(float)"><!-- --></A><H3>
-setSpotExponent</H3>
-<PRE>
-public void <B>setSpotExponent</B>(float&nbsp;spotExponent)</PRE>
-<DL>
-<DD>Sets the spotlight exponent in this Light. Default is 0.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>spotExponent</CODE> - the exponent to set on this Light.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getSpotExponent()"><!-- --></A><H3>
-getSpotExponent</H3>
-<PRE>
-public float <B>getSpotExponent</B>()</PRE>
-<DL>
-<DD>Retrieves the spotlight exponent in this Light.
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the exponent used in this Light.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setConstantAttenuation(float)"><!-- --></A><H3>
-setConstantAttenuation</H3>
-<PRE>
-public void <B>setConstantAttenuation</B>(float&nbsp;constantAttenuation)</PRE>
-<DL>
-<DD>Sets the coefficient of the constant term in the attenuation equation for this Light.
- Default is 1.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>constantAttenuation</CODE> - the value to use for the constant coefficient.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getConstantAttenuation()"><!-- --></A><H3>
-getConstantAttenuation</H3>
-<PRE>
-public float <B>getConstantAttenuation</B>()</PRE>
-<DL>
-<DD>Retrieves the coefficient of the constant term in the attenuation equation for this Light.
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the constant coefficient.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setLinearAttenuation(float)"><!-- --></A><H3>
-setLinearAttenuation</H3>
-<PRE>
-public void <B>setLinearAttenuation</B>(float&nbsp;linearAttenuation)</PRE>
-<DL>
-<DD>Sets the coefficient of the linear term in the attenuation equation for this Light.
- Default is 0.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>linearAttenuation</CODE> - the value to use for the linear coefficient.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getLinearAttenuation()"><!-- --></A><H3>
-getLinearAttenuation</H3>
-<PRE>
-public float <B>getLinearAttenuation</B>()</PRE>
-<DL>
-<DD>Retrieves the coefficient of the linear term in the attenuation equation for this Light.
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the linear coefficient.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setQuadraticAttenuation(float)"><!-- --></A><H3>
-setQuadraticAttenuation</H3>
-<PRE>
-public void <B>setQuadraticAttenuation</B>(float&nbsp;quadraticAttenuation)</PRE>
-<DL>
-<DD>Sets the coefficient of the quadratic term in the attenuation equation for this Light.
- Default is 0.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>quadraticAttenuation</CODE> - the value to use for the quadratic coefficient.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getQuadraticAttenuation()"><!-- --></A><H3>
-getQuadraticAttenuation</H3>
-<PRE>
-public float <B>getQuadraticAttenuation</B>()</PRE>
-<DL>
-<DD>Retrieves the coefficient of the quadratic term in the attenuation equation for this Light.
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the quadratic coefficient.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="maxNumberOfLightsInGL(javax.media.opengl.GL)"><!-- --></A><H3>
-maxNumberOfLightsInGL</H3>
-<PRE>
-public static int <B>maxNumberOfLightsInGL</B>(javax.media.opengl.GL&nbsp;gl)</PRE>
-<DL>
-<DD>Determines the maximum number of lights in the specified <CODE>GL</CODE> context
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>gl</CODE> - the OpenGL context to test
-<DT><B>Returns:</B><DD>the maximum number of lights (highest possible in OpenGL is 8)</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="idToNum(int)"><!-- --></A><H3>
-idToNum</H3>
-<PRE>
-public static int <B>idToNum</B>(int&nbsp;lightID)
- throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
-<DL>
-<DD>Converts the specified OpenGL light ID number to a number
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>lightID</CODE> - the OpenGL ID (should be one of GL_LIGHTn where n is on [0,7])
-<DT><B>Returns:</B><DD>the appropriate light number (on [0,7])
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the supplied lightID is not an OpenGL light ID</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="numToID(int)"><!-- --></A><H3>
-numToID</H3>
-<PRE>
-public static int <B>numToID</B>(int&nbsp;lightNum)
- throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
-<DL>
-<DD>Determines the OpenGL ID for the specified light number
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>lightNum</CODE> - a number on [0,7] specifying the a light
-<DT><B>Returns:</B><DD>the OpenGL ID for that light number (from the GL_LIGHTn family)
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the supplied lightID is not an OpenGL light ID</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="hasFreeLights(javax.media.opengl.GL)"><!-- --></A><H3>
-hasFreeLights</H3>
-<PRE>
-public static boolean <B>hasFreeLights</B>(javax.media.opengl.GL&nbsp;gl)</PRE>
-<DL>
-<DD>Determines if there is space in a specified OpenGL context for another Light to be attached
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>gl</CODE> - the openGL context to test
-<DT><B>Returns:</B><DD>true if another Light object can be attached to this GL context</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setPhongShaded(boolean)"><!-- --></A><H3>
-setPhongShaded</H3>
-<PRE>
-public void <B>setPhongShaded</B>(boolean&nbsp;usePhongShading)
- throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
-<DL>
-<DD>Sets if phong per-fragment shading (as opposed to fixed-functionality per-vertex shading) is to be used with this Light. Must come before the light is enabled.
- This uses a vertex and fragment shader, so the fixed-functionality pipeline will not function normally.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>usePhongShading</CODE> - if Phong should be used. If true and this Light is attached to a GL Context, initializes on this Light's context
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the current OpenGL context does not support GLSL shaders or the shader did not sucessfully compile and link</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isPhongShaded()"><!-- --></A><H3>
-isPhongShaded</H3>
-<PRE>
-public boolean <B>isPhongShaded</B>()</PRE>
-<DL>
-<DD>Tells if this Light is using Phong shading
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if this Light is in Phong shading mode</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="setPhongColorMaterial(boolean, boolean)"><!-- --></A><H3>
-setPhongColorMaterial</H3>
-<PRE>
-public void <B>setPhongColorMaterial</B>(boolean&nbsp;ambient,
- boolean&nbsp;diffuse)</PRE>
-<DL>
-<DD>Sets whether or not the opengl color should be used for the phong color shader
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>ambient</CODE> - the ambient color material mode<DD><CODE>diffuse</CODE> - the diffuse color material mode</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isAmbientPhongColorMaterial()"><!-- --></A><H3>
-isAmbientPhongColorMaterial</H3>
-<PRE>
-public boolean <B>isAmbientPhongColorMaterial</B>()</PRE>
-<DL>
-<DD>Determines if color material is used for ambient in the Phong shader
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if color material is used for the phong ambient shader</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="isDiffusePhongColorMaterial()"><!-- --></A><H3>
-isDiffusePhongColorMaterial</H3>
-<PRE>
-public boolean <B>isDiffusePhongColorMaterial</B>()</PRE>
-<DL>
-<DD>Determines if color material is used for diffuse in the Phong shader
-<P>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>true if color material is used for the phong diffuse shader</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="initializePhongShader()"><!-- --></A><H3>
-initializePhongShader</H3>
-<PRE>
-public static void <B>initializePhongShader</B>()
- throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
-<DL>
-<DD>Initializes Phong shading mode for this Light (instead of the fixed functionality Gouraud shading) on the current OpenGL context. Must be called before Phong shading can be activated.
-<P>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the OpenGL context does not support GLSL shaders or the shader did not sucessfully compile and link</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="initializePhongShader(javax.media.opengl.GL)"><!-- --></A><H3>
-initializePhongShader</H3>
-<PRE>
-public static void <B>initializePhongShader</B>(javax.media.opengl.GL&nbsp;gl)
- throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
-<DL>
-<DD>Initializes Phong shading mode for this Light (instead of the fixed functionality Gouraud shading). Must be called on the context before Phong shading can be activated.
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>gl</CODE> - the openGL context on which to initialize the shader
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if the OpenGL context does not support GLSL shaders or the shader did not sucessfully compile and link</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="removePhongShader()"><!-- --></A><H3>
-removePhongShader</H3>
-<PRE>
-public static void <B>removePhongShader</B>()
- throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
-<DL>
-<DD>Removes the Phong Shader program from the current GL Context
-<P>
-<DD><DL>
-
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if there is no Phong Shader</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="removePhongShader(javax.media.opengl.GL)"><!-- --></A><H3>
-removePhongShader</H3>
-<PRE>
-public static void <B>removePhongShader</B>(javax.media.opengl.GL&nbsp;gl)
- throws <A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></PRE>
-<DL>
-<DD>Removes the Phong Shader program from the specified GL Context
-<P>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>gl</CODE> - the OpenGL context to remove the Phong shader program from
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting">LightingException</A></CODE> - if there is no Phong Shader initialized on this context</DL>
-</DD>
-</DL>
-<!-- ========= END OF CLASS DATA ========= -->
-<HR>
-
-
-<!-- ======= START OF BOTTOM NAVBAR ====== -->
-<A NAME="navbar_bottom"><!-- --></A>
-<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
-<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
-<TR>
-<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
-<A NAME="navbar_bottom_firstrow"><!-- --></A>
-<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Light.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
- </TR>
-</TABLE>
-</TD>
-<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
-</EM>
-</TD>
-</TR>
-
-<TR>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
-&nbsp;<A HREF="../../../../net/java/joglutils/lighting/ColorButton.html" title="class in net.java.joglutils.lighting"><B>PREV CLASS</B></A>&nbsp;
-&nbsp;<A HREF="../../../../net/java/joglutils/lighting/LightingException.html" title="class in net.java.joglutils.lighting"><B>NEXT CLASS</B></A></FONT></TD>
-<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../index.html?net/java/joglutils/lighting/Light.html" target="_top"><B>FRAMES</B></A> &nbsp;
-&nbsp;<A HREF="Light.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
-&nbsp;<SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
-</SCRIPT>
-<NOSCRIPT>
- <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
-</NOSCRIPT>
-
-
-</FONT></TD>
-</TR>
-<TR>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
-<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
-</TR>
-</TABLE>
-<A NAME="skip-navbar_bottom"></A>
-<!-- ======== END OF BOTTOM NAVBAR ======= -->
-
-<HR>
-
-</BODY>
-</HTML>