diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-02-02 08:48:21 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-02-02 08:48:21 +0400 |
commit | 9da4cab9fdc63505b9f0e7f96214cc03ca9ad554 (patch) | |
tree | 13caedc75d5ae69e4f9fe74109fe32126b1cf1af /source/gameengine/GameLogic/SCA_RandomActuator.cpp | |
parent | c93d6f460662c79f6e82be51d2064517d7c79769 (diff) |
style cleanup: comment format
Diffstat (limited to 'source/gameengine/GameLogic/SCA_RandomActuator.cpp')
-rw-r--r-- | source/gameengine/GameLogic/SCA_RandomActuator.cpp | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/source/gameengine/GameLogic/SCA_RandomActuator.cpp b/source/gameengine/GameLogic/SCA_RandomActuator.cpp index 5568072abcf..db6b4a63423 100644 --- a/source/gameengine/GameLogic/SCA_RandomActuator.cpp +++ b/source/gameengine/GameLogic/SCA_RandomActuator.cpp @@ -178,23 +178,15 @@ bool SCA_RandomActuator::Update() case KX_RANDOMACT_FLOAT_NORMAL: { /* normal (big numbers): para1 = mean, para2 = std dev */ - /* - - 070301 - nzc - Changed the termination condition. I think I - made a small mistake here, but it only affects distro's where - the seed equals 0. In that case, the algorithm locks. Let's - just guard that case separately. - - */ + /* 070301 - nzc: Changed the termination condition. I think I + * made a small mistake here, but it only affects distro's where + * the seed equals 0. In that case, the algorithm locks. Let's + * just guard that case separately. + */ float x = 0.0, y = 0.0, s = 0.0, t = 0.0; if (m_base->GetSeed() == 0) { - /* - - 070301 - nzc - Just taking the mean here seems reasonable. - - */ + /* 070301 - nzc: Just taking the mean here seems reasonable. */ tmpval = new CFloatValue(m_parameter1); } else { |