NL3D::CVegetableQuadrant Class Reference

#include <vegetable_quadrant.h>


Detailed Description

Static Quadrant direction for Vegetable ZSort rdrPass.
Author:
Lionel Berenguier

Nevrax France

Date:
2001

Definition at line 48 of file vegetable_quadrant.h.

Public Member Functions

 CVegetableQuadrant ()
 Constructor.


Static Public Attributes

CVector Dirs [NL3D_VEGETABLE_NUM_QUADRANT]


Constructor & Destructor Documentation

NL3D::CVegetableQuadrant::CVegetableQuadrant  ) 
 

Constructor.

Definition at line 41 of file vegetable_quadrant.cpp.

References Dirs, NLMISC::CMatrix::getJ(), NL3D_VEGETABLE_NUM_QUADRANT, NLMISC::Pi, NLMISC::CMatrix::rotateZ(), and uint.

00042 {
00043         for(uint i=0;i<NL3D_VEGETABLE_NUM_QUADRANT;i++)
00044         {
00045                 CMatrix mat;
00046                 mat.rotateZ(2*(float)Pi * i / NL3D_VEGETABLE_NUM_QUADRANT);
00047                 Dirs[i]= mat.getJ();
00048         }
00049 }


Field Documentation

CVector NL3D::CVegetableQuadrant::Dirs [static]
 

Definition at line 53 of file vegetable_quadrant.cpp.

Referenced by CVegetableQuadrant().


The documentation for this class was generated from the following files:
Generated on Tue Mar 16 08:22:17 2004 for NeL by doxygen 1.3.6