mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-13 09:25:52 +00:00
CGrappleArm: Convert reinterpret_cast to static_cast in PointGenerator()
It's permissible to use static_cast when converting from void* to another type.
This commit is contained in:
parent
0cbfc6d169
commit
9063b16d36
@ -487,7 +487,7 @@ void CGrappleArm::RenderXRayModel(const CStateManager& mgr, const zeus::CTransfo
|
|||||||
}
|
}
|
||||||
|
|
||||||
void CGrappleArm::PointGenerator(void* ctx, const std::vector<std::pair<zeus::CVector3f, zeus::CVector3f>>& vn) {
|
void CGrappleArm::PointGenerator(void* ctx, const std::vector<std::pair<zeus::CVector3f, zeus::CVector3f>>& vn) {
|
||||||
reinterpret_cast<CRainSplashGenerator*>(ctx)->GeneratePoints(vn);
|
static_cast<CRainSplashGenerator*>(ctx)->GeneratePoints(vn);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CGrappleArm::Render(const CStateManager& mgr, const zeus::CVector3f& pos, const CModelFlags& flags,
|
void CGrappleArm::Render(const CStateManager& mgr, const zeus::CVector3f& pos, const CModelFlags& flags,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user