mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-13 01:43:08 +00:00
Fix clang tidy warning
This commit is contained in:
parent
cca8faf422
commit
aea4614240
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ namespace DetourNavigator
|
||||||
void NavigatorImpl::addPathgrid(const ESM::Cell& cell, const ESM::Pathgrid& pathgrid)
|
void NavigatorImpl::addPathgrid(const ESM::Cell& cell, const ESM::Pathgrid& pathgrid)
|
||||||
{
|
{
|
||||||
Misc::CoordinateConverter converter(&cell);
|
Misc::CoordinateConverter converter(&cell);
|
||||||
for (auto& edge : pathgrid.mEdges)
|
for (const auto& edge : pathgrid.mEdges)
|
||||||
{
|
{
|
||||||
const auto src = Misc::Convert::makeOsgVec3f(converter.toWorldPoint(pathgrid.mPoints[edge.mV0]));
|
const auto src = Misc::Convert::makeOsgVec3f(converter.toWorldPoint(pathgrid.mPoints[edge.mV0]));
|
||||||
const auto dst = Misc::Convert::makeOsgVec3f(converter.toWorldPoint(pathgrid.mPoints[edge.mV1]));
|
const auto dst = Misc::Convert::makeOsgVec3f(converter.toWorldPoint(pathgrid.mPoints[edge.mV1]));
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue