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_1CSurfaceLightGrid.html | 376 +++++++++++++++++++++ 1 file changed, 376 insertions(+) create mode 100644 docs/doxygen/nel/classNL3D_1_1CSurfaceLightGrid.html (limited to 'docs/doxygen/nel/classNL3D_1_1CSurfaceLightGrid.html') diff --git a/docs/doxygen/nel/classNL3D_1_1CSurfaceLightGrid.html b/docs/doxygen/nel/classNL3D_1_1CSurfaceLightGrid.html new file mode 100644 index 00000000..10ad2cb0 --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CSurfaceLightGrid.html @@ -0,0 +1,376 @@ + + + + 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::CSurfaceLightGrid Class Reference

Dynamic objects lighted by IG's Static Lights lookup into this grid. +More... +

+#include <surface_light_grid.h> +

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

Public Types

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


Public Methods

 CSurfaceLightGrid ()
 Constructor. More...

void getStaticLightSetup (const CVector &localPos, std::vector< CPointLightInfluence > &pointLightList, uint8 &sunContribution, CIGSurfaceLight &igsl, NLMISC::CRGBA &localAmbient) const
void serial (NLMISC::IStream &f)

Public Attributes

NLMISC::CVector2f Origin
uint32 Width
uint32 Height
NLMISC::CObjectVector< CCellCornerCells
+


Detailed Description

+Dynamic objects lighted by IG's Static Lights lookup into this grid. +

+Builded by CInstanceLighter. Used by CIGSurfaceLight

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

+ +

+Definition at line 57 of file surface_light_grid.h.


Member Enumeration Documentation

+

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

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

+

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

+Definition at line 62 of file surface_light_grid.h.

+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NL3D::CSurfaceLightGrid::CSurfaceLightGrid  
+
+ + + + + +
+   + + +

+Constructor. +

+ +

+Definition at line 43 of file surface_light_grid.cpp. +

+References Height, and Width.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void NL3D::CSurfaceLightGrid::getStaticLightSetup const CVector &   localPos,
std::vector< CPointLightInfluence > &   pointLightList,
uint8  sunContribution,
CIGSurfaceLight  igsl,
NLMISC::CRGBA  localAmbient
const
+
+ + + + + +
+   + + +

+ +

+Definition at line 62 of file surface_light_grid.cpp. +

+References NLMISC::CRGBA::A, NLMISC::CRGBA::B, Cells, NLMISC::clamp, NLMISC::CRGBA::G, Height, nlassert, NL3D::OptFastFloor, Origin, NLMISC::CRGBA::R, Width, x, NLMISC::CVector2f::x, y, and NLMISC::CVector2f::y.

+

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

+ +

+Definition at line 51 of file surface_light_grid.cpp. +

+References Cells, Height, Origin, NLMISC::IStream::serial, NLMISC::IStream::serialVersion, and Width.

+


Member Data Documentation

+

+ + + + +
+ + +
NLMISC::CObjectVector<CCellCorner> NL3D::CSurfaceLightGrid::Cells +
+
+ + + + + +
+   + + +

+ +

+Definition at line 101 of file surface_light_grid.h. +

+Referenced by getStaticLightSetup, and serial.

+

+ + + + +
+ + +
uint32 NL3D::CSurfaceLightGrid::Height +
+
+ + + + + +
+   + + +

+ +

+Definition at line 100 of file surface_light_grid.h. +

+Referenced by CSurfaceLightGrid, getStaticLightSetup, and serial.

+

+ + + + +
+ + +
NLMISC::CVector2f NL3D::CSurfaceLightGrid::Origin +
+
+ + + + + +
+   + + +

+ +

+Definition at line 98 of file surface_light_grid.h. +

+Referenced by getStaticLightSetup, and serial.

+

+ + + + +
+ + +
uint32 NL3D::CSurfaceLightGrid::Width +
+
+ + + + + +
+   + + +

+ +

+Definition at line 99 of file surface_light_grid.h. +

+Referenced by CSurfaceLightGrid, getStaticLightSetup, and serial.

+


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