Minor correction in CBallCamera

This commit is contained in:
Phillip Stephens 2020-12-27 16:01:42 -08:00
parent 0364d50164
commit 9d78305360
Signed by: Antidote
GPG Key ID: F8BEE4C83DACA60D
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ void CBallCamera::SetupColliders(std::vector<CCameraCollider>& out, float xMag,
if (theta > M_PIF / 2.f) {
z *= 0.25f;
}
out.emplace_back(radius, zeus::CVector3f{std::sin(theta) * xMag, 0.f, z}, CCameraSpring{k, max, 1.f}, 1.f);
out.emplace_back(radius, zeus::CVector3f{xMag * std::sin(theta), 0.f, z}, CCameraSpring{k, max, 1.f}, 1.f);
theta += 2.f * M_PIF / float(count);
}
}