From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/classNL3D_1_1CWaterRenderObs.html | 239 +++++++++++++++++++++ 1 file changed, 239 insertions(+) create mode 100644 docs/doxygen/nel/classNL3D_1_1CWaterRenderObs.html (limited to 'docs/doxygen/nel/classNL3D_1_1CWaterRenderObs.html') diff --git a/docs/doxygen/nel/classNL3D_1_1CWaterRenderObs.html b/docs/doxygen/nel/classNL3D_1_1CWaterRenderObs.html new file mode 100644 index 00000000..643c2865 --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CWaterRenderObs.html @@ -0,0 +1,239 @@ + + + + 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::CWaterRenderObs Class Reference

#include <water_model.h> +

+

Inheritance diagram for NL3D::CWaterRenderObs: +

+ +NL3D::CTransformShapeRenderObs +NL3D::CTransformRenderObs +NL3D::IBaseRenderObs +NL3D::IObs +NLMISC::CRefCount + +List of all members. + + + + + + + + +

Public Methods

virtual void traverse (IObs *caller)
 setup lighting if lightable, render the instance and Don't traverseSons(). More...


Static Public Methods

IObscreator ()

Private Methods

void setupMaterialNVertexShader (IDriver *drv, CWaterShape *shape, const NLMISC::CVector &obsPos, bool above, float maxDist, float zHeight)
 Compute a quad in Water height field space that contains the useful heights This helps us to decide wether we should do a lookup in the height map. More...

+

Member Function Documentation

+

+ + + + +
+ + + + + + + + + +
IObs* NL3D::CWaterRenderObs::creator   [inline, static]
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NL3D::CTransformShapeRenderObs. +

+Definition at line 90 of file water_model.h. +

+References NL3D::IObs::IObs.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void NL3D::CWaterRenderObs::setupMaterialNVertexShader IDriver  drv,
CWaterShape  shape,
const NLMISC::CVector  obsPos,
bool   above,
float   maxDist,
float   zHeight
[private]
+
+ + + + + +
+   + + +

+Compute a quad in Water height field space that contains the useful heights This helps us to decide wether we should do a lookup in the height map. +

+ +

+Definition at line 816 of file water_model.cpp. +

+References NLMISC::CTime::getLocalTime, nlwarning, NLMISC::CVectorH::set, NLMISC::CRGBA::White, NLMISC::CVector::x, NLMISC::CVector::y, and NLMISC::CVector::z. +

+Referenced by traverse.

+

+ + + + +
+ + + + + + + + + + +
void NL3D::CWaterRenderObs::traverse IObs  caller [virtual]
+
+ + + + + +
+   + + +

+setup lighting if lightable, render the instance and Don't traverseSons(). +

+ +

+Reimplemented from NL3D::CTransformShapeRenderObs. +

+Definition at line 364 of file water_model.cpp. +

+References NLMISC::CPolygon::clip, NL3D::IBaseRenderObs::ClipObs, NLMISC::CPolygon2D::computeBorders, NL3D::ComputeUpMatrix, NLMISC::CPlane::d, NL3D::DrawPoly2D, NLMISC::CMatrix::getI, NLMISC::CMatrix::getJ, NLMISC::CMatrix::getK, NLMISC::CMatrix::getPos, NL3D::GetWaterPoolManager, H_AUTO, NL3D::IBaseRenderObs::HrcObs, NLMISC::CMatrix::inverted, NLAISCRIPT::l, NLMISC::CPlane::make, min, nlassert, nlwarning, NLMISC::CMatrix::setPos, setupMaterialNVertexShader, NL3D::SetupWaterVertex, t, NLMISC::CPolygon2D::TRasterVect, NL3D::IObs::traverseSons, NLMISC::CPolygon2D::Vertices, NLMISC::CPolygon::Vertices, NLMISC::CVector::x, NLMISC::CVector::y, and NLMISC::CVector::z.

+


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