mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-05-14 11:11:21 +00:00
Merge branch 'master' of https://gitlab.axiodl.com/AxioDL/urde
This commit is contained in:
commit
0cdacb1f37
@ -102,7 +102,7 @@ void CBallCamera::SetupColliders(std::vector<CCameraCollider>& out, float xMag,
|
|||||||
if (theta > M_PIF / 2.f) {
|
if (theta > M_PIF / 2.f) {
|
||||||
z *= 0.25f;
|
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);
|
theta += 2.f * M_PIF / float(count);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user