const float3& CGround::GetNormalAboveWater(float x, float z, bool synced) { if (GetHeightReal(x, z, synced) <= 0.0f) return UpVector; return (GetNormal(x, z, synced)); }
float CGround::GetHeightAboveWater(float x, float z, bool synced) { return std::max(0.0f, GetHeightReal(x, z, synced)); }
float CGround::GetHeightAboveWater(float x, float y, bool synced) const { return std::max(0.0f, GetHeightReal(x, y, synced)); }