2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 15:04:56 +00:00

Implement Metal fluid plane tessellation shader

This commit is contained in:
Jack Andersen
2018-06-11 15:16:27 -10:00
parent 8f9d7da3ee
commit 1e36329ed4
12 changed files with 232 additions and 59 deletions

View File

@@ -940,7 +940,7 @@ CAutoMapper::FindClosestVisibleWorld(const zeus::CVector3f& point,
const CStateManager& mgr) const
{
float minDist = 29999.f;
std::pair<int, int> closestWorld = {xa0_curAreaId, xa0_curAreaId};
std::pair<int, int> closestWorld = {x9c_worldIdx, xa0_curAreaId};
for (u32 w=0 ; w<x8_mapu->GetNumMapWorldDatas() ; ++w)
{
const CMapUniverse::CMapWorldData& mwData = x8_mapu->GetMapWorldData(w);