Rev | Line | |
---|
[699] | 1 | |
---|
| 2 | #include "LBBCLeafDistribution.h" |
---|
| 3 | |
---|
| 4 | namespace LBBC { |
---|
| 5 | |
---|
| 6 | LeafDistribution::LeafDistribution() { |
---|
| 7 | } |
---|
| 8 | |
---|
| 9 | LeafDistribution::~LeafDistribution() |
---|
| 10 | { |
---|
[721] | 11 | |
---|
[699] | 12 | } |
---|
| 13 | |
---|
| 14 | void LeafDistribution::setMinD(float value) |
---|
| 15 | { |
---|
| 16 | mMinD = value; |
---|
| 17 | } |
---|
| 18 | |
---|
| 19 | void LeafDistribution::setMaxD(float value) |
---|
| 20 | { |
---|
| 21 | mMaxD = value; |
---|
| 22 | } |
---|
| 23 | |
---|
| 24 | float LeafDistribution::getMinD() |
---|
| 25 | { |
---|
| 26 | return mMinD; |
---|
| 27 | } |
---|
| 28 | |
---|
| 29 | float LeafDistribution::getMaxD() |
---|
| 30 | { |
---|
| 31 | return mMaxD; |
---|
| 32 | } |
---|
| 33 | |
---|
| 34 | void LeafDistribution::setMinNormal(Ogre::Vector3 value) |
---|
| 35 | { |
---|
| 36 | mMinNormal = value; |
---|
| 37 | } |
---|
| 38 | |
---|
| 39 | Ogre::Vector3 LeafDistribution::getMinNormal() |
---|
| 40 | { |
---|
| 41 | return mMinNormal; |
---|
| 42 | } |
---|
| 43 | |
---|
| 44 | void LeafDistribution::setMaxNormal(Ogre::Vector3 value) |
---|
| 45 | { |
---|
| 46 | mMaxNormal = value; |
---|
| 47 | } |
---|
| 48 | |
---|
| 49 | Ogre::Vector3 LeafDistribution::getMaxNormal() |
---|
| 50 | { |
---|
| 51 | return mMaxNormal; |
---|
| 52 | } |
---|
| 53 | |
---|
| 54 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.