From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- .../nel/classNL3D_1_1CTileLightInfluence.html | 349 +++++++++++++++++++++ 1 file changed, 349 insertions(+) create mode 100644 docs/doxygen/nel/classNL3D_1_1CTileLightInfluence.html (limited to 'docs/doxygen/nel/classNL3D_1_1CTileLightInfluence.html') diff --git a/docs/doxygen/nel/classNL3D_1_1CTileLightInfluence.html b/docs/doxygen/nel/classNL3D_1_1CTileLightInfluence.html new file mode 100644 index 00000000..39a1980e --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CTileLightInfluence.html @@ -0,0 +1,349 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
Documentation 
+ +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  
+

NL3D::CTileLightInfluence Class Reference

For landscape. +More... +

+#include <tile_light_influence.h> +

+List of all members. + + + + + + + + + + + + + + + + + +

Public Types

enum  { NumLightPerCorner = 2 + }
 We support only 2 light per corner. Should never be changed. More...


Public Methods

 CTileLightInfluence ()
 Constructor. More...

void setDiffuseLightFactor (uint i, uint8 factor)
 i: 0 or 1. factor E [0..255] is the factor of influence (gouraud) of the ith light. NB: stored on 4 bits. More...

uint8 getDiffuseLightFactor (uint i) const
 see setDiffuseLightFactor(). return uint8 E [0, 255]. More...

void serial (NLMISC::IStream &f)

Public Attributes

uint8 Light [NumLightPerCorner]
 List of lights. More...


Private Attributes

uint8 PackedLightFactor
 Packed. More...

+


Detailed Description

+For landscape. +

+A descriptor of light which influence a corner of a TessBlock: 2 lights Ids (points to PointLight in zone), with 2 diffuseLightFactor.

+Author:
+Lionel Berenguier , Nevrax France
+Date:
+2001
+

+ +

+Definition at line 45 of file tile_light_influence.h.


Member Enumeration Documentation

+

+ + + + +
+ + +
anonymous enum +
+
+ + + + + +
+   + + +

+We support only 2 light per corner. Should never be changed. +

+

+Enumeration values:
+ + +
NumLightPerCorner  +
+
+ +

+Definition at line 50 of file tile_light_influence.h.

+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NL3D::CTileLightInfluence::CTileLightInfluence   [inline]
+
+ + + + + +
+   + + +

+Constructor. +

+ +

+Definition at line 54 of file tile_light_influence.h.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
uint8 NL3D::CTileLightInfluence::getDiffuseLightFactor uint   i const
+
+ + + + + +
+   + + +

+see setDiffuseLightFactor(). return uint8 E [0, 255]. +

+ +

+Definition at line 53 of file tile_light_influence.cpp. +

+References nlassert, and PackedLightFactor.

+

+ + + + +
+ + + + + + + + + + +
void NL3D::CTileLightInfluence::serial NLMISC::IStream  f
+
+ + + + + +
+   + + +

+ +

+Definition at line 67 of file tile_light_influence.cpp. +

+References Light, nlassert, PackedLightFactor, and NLMISC::IStream::serial.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NL3D::CTileLightInfluence::setDiffuseLightFactor uint   i,
uint8   factor
+
+ + + + + +
+   + + +

+i: 0 or 1. factor E [0..255] is the factor of influence (gouraud) of the ith light. NB: stored on 4 bits. +

+ +

+Definition at line 36 of file tile_light_influence.cpp. +

+References nlassert, and PackedLightFactor.

+


Member Data Documentation

+

+ + + + +
+ + +
uint8 NL3D::CTileLightInfluence::Light[NumLightPerCorner] +
+
+ + + + + +
+   + + +

+List of lights. +

+Id==0xFF => no light. if Light[i]==0xFF, then Light[j] with j>i is supposed disalbed too. +

+Definition at line 60 of file tile_light_influence.h. +

+Referenced by serial.

+

+ + + + +
+ + +
uint8 NL3D::CTileLightInfluence::PackedLightFactor [private] +
+
+ + + + + +
+   + + +

+Packed. +

+ +

+Definition at line 74 of file tile_light_influence.h. +

+Referenced by getDiffuseLightFactor, serial, and setDiffuseLightFactor.

+


The documentation for this class was generated from the following files: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1