source: GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/include/LBBC/LBBCLeafDistributionGenerator.h @ 721

Revision 721, 543 bytes checked in by igarcia, 18 years ago (diff)
Line 
1#ifndef _LBBCLEAFDISTRIBUTIONGENERATOR_H
2#define _LBBCLEAFDISTRIBUTIONGENERATOR_H
3
4#include <BBC.h>
5#include <LBBCLeaf.h>
6#include <LBBCLeafDistribution.h>
7
8namespace LBBC {
9
10class _BBCExport LeafDistributionGenerator : public BBC::EntityDistributionGenerator {
11       
12  public:
13
14    LeafDistributionGenerator();
15
16    virtual ~LeafDistributionGenerator();
17
18        void generateAverageLeafNormal(Leaf *leaf);
19
20        void generateNormalDThreshold(float &minD, float &maxD, Ogre::Vector3 &minNormal, Ogre::Vector3 &maxNormal);
21
22        void generate();
23       
24};
25
26}
27#endif
Note: See TracBrowser for help on using the repository browser.