mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-16 22:57:02 +00:00
CFluidPlaneCPU: Initialize m_cachedDoubleLightmapBlend and m_cachedAdditive
Provides a deterministic initial state upon construction.
This commit is contained in:
@@ -60,8 +60,8 @@ protected:
|
|||||||
u32 m_maxVertCount;
|
u32 m_maxVertCount;
|
||||||
bool m_tessellation = false;
|
bool m_tessellation = false;
|
||||||
|
|
||||||
bool m_cachedDoubleLightmapBlend;
|
bool m_cachedDoubleLightmapBlend = false;
|
||||||
bool m_cachedAdditive;
|
bool m_cachedAdditive = false;
|
||||||
|
|
||||||
static bool PrepareRipple(const CRipple& ripple, const CFluidPlaneRender::SPatchInfo& info,
|
static bool PrepareRipple(const CRipple& ripple, const CFluidPlaneRender::SPatchInfo& info,
|
||||||
CFluidPlaneRender::SRippleInfo& rippleOut);
|
CFluidPlaneRender::SRippleInfo& rippleOut);
|
||||||
|
|||||||
Reference in New Issue
Block a user