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

Revision 751, 591 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 generateAverageLeafPosition(Leaf *leaf);
19
20        void generateAverageLeafNormal(Leaf *leaf);
21
22        void generateNormalDThreshold(float &minD, float &maxD, Ogre::Vector3 &minNormal, Ogre::Vector3 &maxNormal);
23
24        void generate();
25       
26};
27
28}
29#endif
Note: See TracBrowser for help on using the repository browser.