2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 13:11:22 +00:00
This commit is contained in:
Phillip Stephens 2020-12-31 14:00:39 -08:00
commit 0cdacb1f37

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);
}
}