Water tile reflections implemented.

This commit is contained in:
2023-09-15 01:02:10 -05:00
parent 4cdb73333d
commit 5140b92317
18 changed files with 279 additions and 118 deletions
+1 -1
View File
@@ -324,7 +324,7 @@ namespace olc
olc::vf2d TransformedView::WorldToScreen(const olc::vf2d& vWorldPos) const
{
olc::vf2d vFloat = ((vd2d(vWorldPos) - vd2d(m_vWorldOffset)) * vd2d(m_vWorldScale));
olc::vf2d vFloat = ((vf2d(vWorldPos) - vf2d(m_vWorldOffset)) * vf2d(m_vWorldScale));
//vFloat = { std::floor(vFloat.x + 0.5f), std::floor(vFloat.y + 0.5f) };
return vFloat;
}