Fix some warnings and remove an unused function parameter

Signed-off-by: amzn-sj <srikkant@amazon.com>
This commit is contained in:
amzn-sj
2022-01-15 14:26:58 -08:00
parent 8fa0440030
commit f05ca0897e
3 changed files with 5 additions and 5 deletions
@@ -344,7 +344,7 @@ namespace Terrain
AZStd::vector<Physics::MaterialId> materialList = GetMaterialList();
auto perPositionCallback = [&heightMaterials, &materialList, this, worldCenterZ, worldHeightBoundsMin, worldHeightBoundsMax]
(size_t xIndex, size_t yIndex, const AzFramework::SurfaceData::SurfacePoint& surfacePoint, bool terrainExists)
([[maybe_unused]] size_t xIndex, [[maybe_unused]] size_t yIndex, const AzFramework::SurfaceData::SurfacePoint& surfacePoint, bool terrainExists)
{
float height = surfacePoint.m_position.GetZ();