|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CQuadEffect Class ReferenceThis class allow to create a sequence of small quads that tesselate a poly.
More...
#include <quad_effect.h>
List of all members.
Detailed Description
This class allow to create a sequence of small quads that tesselate a poly.
-
Author:
-
Nicolas Vizerie , Nevrax France
-
Date:
-
2001
Definition at line 46 of file quad_effect.h.
Member Typedef Documentation
typedef std::vector< std::pair< float, float> > NL3D::CQuadEffect::TRasters
|
|
Member Function Documentation
void NL3D::CQuadEffect::makeRasters |
( |
const TPoint2DVect & |
poly, |
|
|
float |
quadWidth, |
|
|
float |
quadHeight, |
|
|
TRasters & |
dest, |
|
|
float & |
startY |
|
) |
[static] |
|
|
Make raters from the given clipped polygon.
-
Parameters:
-
poly |
a polygon that describe the area where datas are taken from. |
quadWidth |
width of the quad |
quadHeight |
height of the quad |
dest |
a vector that will be filled with the given rasters |
startY |
will be filled with the start y position on screen |
Definition at line 61 of file quad_effect.cpp.
References min, and NL3D::TEdgeList.
Referenced by processPoly. |
void NL3D::CQuadEffect::processPoly |
( |
const TPoint2DVect & |
poly, |
|
|
float |
quadWidth, |
|
|
float |
quadHeight, |
|
|
TPoint2DVect & |
dest |
|
) |
[static] |
|
|
edge is in scope.
-
Parameters:
-
poly |
a polygon that describe the area where datas are taken from. |
quadWidth |
width of the quad |
quadHeight |
height of the quad |
dest |
a vector that will contains the pos of all the quads that cover the poly |
Definition at line 234 of file quad_effect.cpp.
References makeRasters, and TRasters. |
The documentation for this class was generated from the following files:
|
|