"angles now more in line with panda's coordinate system"

This commit is contained in:
Josh Wilson 2007-05-10 23:13:32 +00:00
parent 7267bee98a
commit 176e3f7129
1 changed files with 1 additions and 0 deletions

View File

@ -74,6 +74,7 @@ assign_initial_position(LPoint3f& pos) {
theta = LERP(NORMALIZED_RAND(), _start_theta, _end_theta + 2.0f * MathNumbers::pi_f);
}
theta += (MathNumbers::pi_f / 2.0);
this->_cos_theta = cosf(theta);
this->_sin_theta = sinf(theta);