aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/light__user_8h-source.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/nel/light__user_8h-source.html')
-rw-r--r--docs/doxygen/nel/light__user_8h-source.html307
1 files changed, 307 insertions, 0 deletions
diff --git a/docs/doxygen/nel/light__user_8h-source.html b/docs/doxygen/nel/light__user_8h-source.html
new file mode 100644
index 00000000..6a0a24d1
--- /dev/null
+++ b/docs/doxygen/nel/light__user_8h-source.html
@@ -0,0 +1,307 @@
+<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+<HTML>
+<HEAD>
+ <TITLE>nevrax.org : docs</TITLE>
+ <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css">
+ <link href="doxygen.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY MARGINHEIGHT="0" MARGINWIDTH="0">
+
+<!-- uplinks -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ </TR>
+</TABLE>
+
+<!-- banner Nevrax -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%>
+ <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR>
+</TABLE>
+
+<!-- main table -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+ <!------ Begin Box ------>
+ <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black>
+ <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF>
+ <TABLE cellspacing=0 cellpadding=1 border=0>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr>
+ </TABLE>
+ </TD></TR></TABLE></TD></TR></TABLE>
+ <!------ End Box ------>
+
+ </TD>
+ <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+<!-- title -->
+<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td>
+<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A>
+</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT="">
+</td></tr></table>
+&nbsp;
+
+<!-- block -->
+<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD>
+ <TD><B>Documentation</B></TD>
+ <TD ALIGN=RIGHT>&nbsp;</td>
+</tr></table>
+<!-- Generated by Doxygen 1.2.14 -->
+<center>
+<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> &nbsp; </center>
+<hr><h1>light_user.h</h1><a href="light__user_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001
+00007 <font class="comment">/* Copyright, 2001 Nevrax Ltd.</font>
+00008 <font class="comment"> *</font>
+00009 <font class="comment"> * This file is part of NEVRAX NEL.</font>
+00010 <font class="comment"> * NEVRAX NEL is free software; you can redistribute it and/or modify</font>
+00011 <font class="comment"> * it under the terms of the GNU General Public License as published by</font>
+00012 <font class="comment"> * the Free Software Foundation; either version 2, or (at your option)</font>
+00013 <font class="comment"> * any later version.</font>
+00014 <font class="comment"></font>
+00015 <font class="comment"> * NEVRAX NEL is distributed in the hope that it will be useful, but</font>
+00016 <font class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</font>
+00017 <font class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</font>
+00018 <font class="comment"> * General Public License for more details.</font>
+00019 <font class="comment"></font>
+00020 <font class="comment"> * You should have received a copy of the GNU General Public License</font>
+00021 <font class="comment"> * along with NEVRAX NEL; see the file COPYING. If not, write to the</font>
+00022 <font class="comment"> * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,</font>
+00023 <font class="comment"> * MA 02111-1307, USA.</font>
+00024 <font class="comment"> */</font>
+00025
+00026 <font class="preprocessor">#ifndef NL_LIGHT_USER_H</font>
+00027 <font class="preprocessor"></font><font class="preprocessor">#define NL_LIGHT_USER_H</font>
+00028 <font class="preprocessor"></font>
+00029 <font class="preprocessor">#include "<a class="code" href="types__nl_8h.html">nel/misc/types_nl.h</a>"</font>
+00030 <font class="preprocessor">#include "<a class="code" href="u__light_8h.html">nel/3d/u_light.h</a>"</font>
+00031 <font class="preprocessor">#include "<a class="code" href="light_8h.html">3d/light.h</a>"</font>
+00032
+<a name="l00033"></a><a class="code" href="light__user_8h.html#a0">00033</a> <font class="preprocessor">#define NL3D_MEM_LIGHT NL_ALLOC_CONTEXT( 3dLight )</font>
+00034 <font class="preprocessor"></font>
+00035 <font class="keyword">namespace </font>NL3D
+00036 {
+00037
+00038 <font class="keyword">class </font>CDriverUser;
+00039
+00040
+00041 <font class="comment">// ***************************************************************************</font>
+<a name="l00048"></a><a class="code" href="classNL3D_1_1CLightUser.html">00048</a> <font class="comment"></font><font class="keyword">class </font>CLightUser : <font class="keyword">public</font> ULight
+00049 {
+00050 <font class="keyword">protected</font>:
+<a name="l00051"></a><a class="code" href="classNL3D_1_1CLightUser.html#n0">00051</a> CLight <a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>;
+<a name="l00052"></a><a class="code" href="classNL3D_1_1CLightUser.html#l0">00052</a> <font class="keyword">friend</font> <font class="keyword">class </font><a class="code" href="classNL3D_1_1CLightUser.html#l0">CDriverUser</a>;
+00053
+00054 <font class="keyword">public</font>:
+00055
+00057
+00058
+<a name="l00060"></a><a class="code" href="classNL3D_1_1CLightUser.html#z520_0">00060</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CLightUser.html#z520_0">setupDirectional</a> (<font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a>&amp; ambiant, <font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a>&amp; diffuse, <font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a>&amp; specular, <font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a>&amp; direction,
+00061 <font class="keywordtype">float</font> constant=1, <font class="keywordtype">float</font> linear=0, <font class="keywordtype">float</font> quadratic=0)
+00062 {
+00063 <a class="code" href="light__user_8h.html#a0">NL3D_MEM_LIGHT</a>
+00064 <a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>.setupDirectional (ambiant, diffuse, specular, direction, constant, linear, quadratic);
+00065 }
+00066
+<a name="l00068"></a><a class="code" href="classNL3D_1_1CLightUser.html#z520_1">00068</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CLightUser.html#z520_1">setupPointLight</a> (<font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a>&amp; ambiant, <font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a>&amp; diffuse, <font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a>&amp; specular, <font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a>&amp; position,
+00069 <font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a>&amp; direction, <font class="keywordtype">float</font> constant=1, <font class="keywordtype">float</font> linear=0, <font class="keywordtype">float</font> quadratic=0)
+00070 {
+00071 <a class="code" href="light__user_8h.html#a0">NL3D_MEM_LIGHT</a>
+00072 <a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>.setupPointLight (ambiant, diffuse, specular, position, direction, constant, linear, quadratic);
+00073 }
+00074
+<a name="l00076"></a><a class="code" href="classNL3D_1_1CLightUser.html#z520_2">00076</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CLightUser.html#z520_2">setupSpotLight</a> (<font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a>&amp; ambiant, <font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a>&amp; diffuse, <font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a>&amp; specular, <font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a>&amp; position,
+00077 <font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a>&amp; direction, <font class="keywordtype">float</font> exponent, <font class="keywordtype">float</font> cutoff, <font class="keywordtype">float</font> constant=1, <font class="keywordtype">float</font> linear=0, <font class="keywordtype">float</font> quadratic=0)
+00078 {
+00079 <a class="code" href="light__user_8h.html#a0">NL3D_MEM_LIGHT</a>
+00080 <a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>.setupSpotLight (ambiant, diffuse, specular, position, direction, exponent, cutoff, constant, linear, quadratic);
+00081 }
+00082
+<a name="l00089"></a><a class="code" href="classNL3D_1_1CLightUser.html#z520_3">00089</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CLightUser.html#z520_3">setupAttenuation</a> (<font class="keywordtype">float</font> farAttenuationBegin, <font class="keywordtype">float</font> farAttenuationEnd)
+00090 {
+00091 <a class="code" href="light__user_8h.html#a0">NL3D_MEM_LIGHT</a>
+00092 <a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>.setupAttenuation (farAttenuationBegin, farAttenuationEnd);
+00093 }
+00094
+<a name="l00101"></a><a class="code" href="classNL3D_1_1CLightUser.html#z520_4">00101</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CLightUser.html#z520_4">setNoAttenuation</a> ()
+00102 {
+00103 <a class="code" href="light__user_8h.html#a0">NL3D_MEM_LIGHT</a>
+00104 <a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>.setNoAttenuation ();
+00105 }
+00106
+<a name="l00113"></a><a class="code" href="classNL3D_1_1CLightUser.html#z520_5">00113</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CLightUser.html#z520_5">setupSpotExponent</a> (<font class="keywordtype">float</font> hotSpotAngle)
+00114 {
+00115 <a class="code" href="light__user_8h.html#a0">NL3D_MEM_LIGHT</a>
+00116 <a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>.setupSpotExponent (hotSpotAngle);
+00117 }
+00118
+00120
+00121
+00123
+00124
+<a name="l00128"></a><a class="code" href="classNL3D_1_1CLightUser.html#z521_0">00128</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CLightUser.html#z521_0">setMode</a> (ULight::TLightMode mode)
+00129 {
+00130 <a class="code" href="light__user_8h.html#a0">NL3D_MEM_LIGHT</a>
+00131 <a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>.setMode ((CLight::TLightMode)(uint32)mode);
+00132 }
+00133
+<a name="l00137"></a><a class="code" href="classNL3D_1_1CLightUser.html#z521_1">00137</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CLightUser.html#z521_1">setAmbiant</a> (<font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a>&amp; ambiant)
+00138 {
+00139 <a class="code" href="light__user_8h.html#a0">NL3D_MEM_LIGHT</a>
+00140 <a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>.setAmbiant (ambiant);
+00141 }
+00142
+<a name="l00146"></a><a class="code" href="classNL3D_1_1CLightUser.html#z521_2">00146</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CLightUser.html#z521_2">setDiffuse</a> (<font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a>&amp; diffuse)
+00147 {
+00148 <a class="code" href="light__user_8h.html#a0">NL3D_MEM_LIGHT</a>
+00149 <a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>.setDiffuse (diffuse);
+00150 }
+00151
+<a name="l00155"></a><a class="code" href="classNL3D_1_1CLightUser.html#z521_3">00155</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CLightUser.html#z521_3">setSpecular</a> (<font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a>&amp; specular)
+00156 {
+00157 <a class="code" href="light__user_8h.html#a0">NL3D_MEM_LIGHT</a>
+00158 <a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>.setSpecular (specular);
+00159 }
+00160
+<a name="l00164"></a><a class="code" href="classNL3D_1_1CLightUser.html#z521_4">00164</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CLightUser.html#z521_4">setPosition</a> (<font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a>&amp; position)
+00165 {
+00166 <a class="code" href="light__user_8h.html#a0">NL3D_MEM_LIGHT</a>
+00167 <a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>.setPosition (position);
+00168 }
+00169
+<a name="l00173"></a><a class="code" href="classNL3D_1_1CLightUser.html#z521_5">00173</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CLightUser.html#z521_5">setDirection</a> (<font class="keyword">const</font> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a>&amp; direction)
+00174 {
+00175 <a class="code" href="light__user_8h.html#a0">NL3D_MEM_LIGHT</a>
+00176 <a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>.setDirection (direction);
+00177 }
+00178
+<a name="l00182"></a><a class="code" href="classNL3D_1_1CLightUser.html#z521_6">00182</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CLightUser.html#z521_6">setExponent</a> (<font class="keywordtype">float</font> exponent)
+00183 {
+00184 <a class="code" href="light__user_8h.html#a0">NL3D_MEM_LIGHT</a>
+00185 <a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>.setExponent (exponent);
+00186 }
+00187
+<a name="l00191"></a><a class="code" href="classNL3D_1_1CLightUser.html#z521_7">00191</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CLightUser.html#z521_7">setCutoff</a> (<font class="keywordtype">float</font> cutoff)
+00192 {
+00193 <a class="code" href="light__user_8h.html#a0">NL3D_MEM_LIGHT</a>
+00194 <a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>.setCutoff (cutoff);
+00195 }
+00196
+<a name="l00204"></a><a class="code" href="classNL3D_1_1CLightUser.html#z521_8">00204</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CLightUser.html#z521_8">setConstantAttenuation</a> (<font class="keywordtype">float</font> constant)
+00205 {
+00206 <a class="code" href="light__user_8h.html#a0">NL3D_MEM_LIGHT</a>
+00207 <a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>.setConstantAttenuation (constant);
+00208 }
+00209
+<a name="l00217"></a><a class="code" href="classNL3D_1_1CLightUser.html#z521_9">00217</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CLightUser.html#z521_9">setLinearAttenuation</a> (<font class="keywordtype">float</font> linear)
+00218 {
+00219 <a class="code" href="light__user_8h.html#a0">NL3D_MEM_LIGHT</a>
+00220 <a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>.setLinearAttenuation (linear);
+00221 }
+00222
+<a name="l00230"></a><a class="code" href="classNL3D_1_1CLightUser.html#z521_10">00230</a> <font class="keywordtype">void</font> <a class="code" href="classNL3D_1_1CLightUser.html#z521_10">setQuadraticAttenuation</a> (<font class="keywordtype">float</font> quadratic)
+00231 {
+00232 <a class="code" href="light__user_8h.html#a0">NL3D_MEM_LIGHT</a>
+00233 <a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>.setQuadraticAttenuation (quadratic);
+00234 }
+00235
+00237
+00239
+00240
+<a name="l00244"></a><a class="code" href="classNL3D_1_1CLightUser.html#z522_0">00244</a> ULight::TLightMode <a class="code" href="classNL3D_1_1CLightUser.html#z522_0">getMode</a> ()<font class="keyword"> const</font>
+00245 <font class="keyword"> </font>{
+00246 <a class="code" href="light__user_8h.html#a0">NL3D_MEM_LIGHT</a>
+00247 <font class="keywordflow">return</font> (ULight::TLightMode)(uint32)<a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>.getMode ();
+00248 }
+00249
+<a name="l00253"></a><a class="code" href="classNL3D_1_1CLightUser.html#z522_1">00253</a> <a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> <a class="code" href="classNL3D_1_1CLightUser.html#z522_1">getAmbiant</a> ()<font class="keyword"> const</font>
+00254 <font class="keyword"> </font>{
+00255 <a class="code" href="light__user_8h.html#a0">NL3D_MEM_LIGHT</a>
+00256 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>.getAmbiant ();
+00257 }
+00258
+<a name="l00262"></a><a class="code" href="classNL3D_1_1CLightUser.html#z522_2">00262</a> <a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> <a class="code" href="classNL3D_1_1CLightUser.html#z522_2">getDiffuse</a> ()<font class="keyword"> const</font>
+00263 <font class="keyword"> </font>{
+00264 <a class="code" href="light__user_8h.html#a0">NL3D_MEM_LIGHT</a>
+00265 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>.getDiffuse ();
+00266 }
+00267
+<a name="l00271"></a><a class="code" href="classNL3D_1_1CLightUser.html#z522_3">00271</a> <a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> <a class="code" href="classNL3D_1_1CLightUser.html#z522_3">getSpecular</a> ()<font class="keyword"> const</font>
+00272 <font class="keyword"> </font>{
+00273 <a class="code" href="light__user_8h.html#a0">NL3D_MEM_LIGHT</a>
+00274 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>.getSpecular ();
+00275 }
+00276
+<a name="l00280"></a><a class="code" href="classNL3D_1_1CLightUser.html#z522_4">00280</a> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> <a class="code" href="classNL3D_1_1CLightUser.html#z522_4">getPosition</a> ()<font class="keyword"> const</font>
+00281 <font class="keyword"> </font>{
+00282 <a class="code" href="light__user_8h.html#a0">NL3D_MEM_LIGHT</a>
+00283 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>.getPosition ();
+00284 }
+00285
+<a name="l00289"></a><a class="code" href="classNL3D_1_1CLightUser.html#z522_5">00289</a> <a class="code" href="classNLMISC_1_1CVector.html">NLMISC::CVector</a> <a class="code" href="classNL3D_1_1CLightUser.html#z522_5">getDirection</a> ()<font class="keyword"> const</font>
+00290 <font class="keyword"> </font>{
+00291 <a class="code" href="light__user_8h.html#a0">NL3D_MEM_LIGHT</a>
+00292 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>.getDirection ();
+00293 }
+00294
+<a name="l00298"></a><a class="code" href="classNL3D_1_1CLightUser.html#z522_6">00298</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CLightUser.html#z522_6">getExponent</a> ()<font class="keyword"> const</font>
+00299 <font class="keyword"> </font>{
+00300 <a class="code" href="light__user_8h.html#a0">NL3D_MEM_LIGHT</a>
+00301 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>.getExponent ();
+00302 }
+00303
+<a name="l00307"></a><a class="code" href="classNL3D_1_1CLightUser.html#z522_7">00307</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CLightUser.html#z522_7">getCutoff</a> ()<font class="keyword"> const</font>
+00308 <font class="keyword"> </font>{
+00309 <a class="code" href="light__user_8h.html#a0">NL3D_MEM_LIGHT</a>
+00310 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>.getCutoff ();
+00311 }
+00312
+<a name="l00320"></a><a class="code" href="classNL3D_1_1CLightUser.html#z522_8">00320</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CLightUser.html#z522_8">getConstantAttenuation</a> ()<font class="keyword"> const</font>
+00321 <font class="keyword"> </font>{
+00322 <a class="code" href="light__user_8h.html#a0">NL3D_MEM_LIGHT</a>
+00323 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>.getConstantAttenuation ();
+00324 }
+00325
+<a name="l00333"></a><a class="code" href="classNL3D_1_1CLightUser.html#z522_9">00333</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CLightUser.html#z522_9">getLinearAttenuation</a> ()<font class="keyword"> const</font>
+00334 <font class="keyword"> </font>{
+00335 <a class="code" href="light__user_8h.html#a0">NL3D_MEM_LIGHT</a>
+00336 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>.getLinearAttenuation ();
+00337 }
+00338
+<a name="l00346"></a><a class="code" href="classNL3D_1_1CLightUser.html#z522_10">00346</a> <font class="keywordtype">float</font> <a class="code" href="classNL3D_1_1CLightUser.html#z522_10">getQuadraticAttenuation</a> ()<font class="keyword"> const</font>
+00347 <font class="keyword"> </font>{
+00348 <a class="code" href="light__user_8h.html#a0">NL3D_MEM_LIGHT</a>
+00349 <font class="keywordflow">return</font> <a class="code" href="classNL3D_1_1CLightUser.html#n0">_Light</a>.getQuadraticAttenuation ();
+00350 }
+00351
+00353 };
+00354
+00355
+00356 } <font class="comment">// NL3D</font>
+00357
+00358
+00359 <font class="preprocessor">#endif // NL_LIGHT_USER_H</font>
+00360 <font class="preprocessor"></font>
+00361 <font class="comment">/* End of light_user.h */</font>
+</pre></div>
+
+<!-- footer -->
+<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </FONT>
+</TD>
+<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD>
+</TR>
+</TABLE>
+</BODY>
+</HTML>