Rev | Line | |
---|
[700] | 1 | #ifndef _LBBCLEAFDISTRIBUTIONGENERATOR_H |
---|
| 2 | #define _LBBCLEAFDISTRIBUTIONGENERATOR_H |
---|
| 3 | |
---|
| 4 | #include <BBC.h> |
---|
| 5 | #include <LBBCLeaf.h> |
---|
| 6 | #include <LBBCLeafDistribution.h> |
---|
| 7 | |
---|
| 8 | namespace LBBC { |
---|
| 9 | |
---|
| 10 | class _BBCExport LeafDistributionGenerator : public BBC::EntityDistributionGenerator { |
---|
| 11 | |
---|
| 12 | public: |
---|
| 13 | |
---|
| 14 | LeafDistributionGenerator(); |
---|
| 15 | |
---|
[721] | 16 | virtual ~LeafDistributionGenerator(); |
---|
[700] | 17 | |
---|
[751] | 18 | void generateAverageLeafPosition(Leaf *leaf); |
---|
| 19 | |
---|
[700] | 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.