Remove warnings on MSVC

This commit is contained in:
Alexander Bock
2023-04-26 23:51:16 +02:00
parent bba5fe6eaa
commit 6dfd0cd3a8
11 changed files with 23 additions and 21 deletions

View File

@@ -241,8 +241,8 @@ RenderableNodeLine::RenderableNodeLine(const ghoul::Dictionary& dictionary)
}
else {
// Recompute relative values to meters
_startOffset = _startOffset * startNode->boundingSphere();
_endOffset = _endOffset * endNode->boundingSphere();
_startOffset = static_cast<float>(_startOffset * startNode->boundingSphere());
_endOffset = static_cast<float>(_endOffset * endNode->boundingSphere());
}
});
}