* feat: fix whitebox module to work on linux(#4654) Signed-off-by: Michael Pollind <mpollind@gmail.com> * update with AZStl Signed-off-by: Michael Pollind <mpollind@gmail.com> * feat: update format Signed-off-by: Michael Pollind <mpollind@gmail.com> * chore: minor changes Signed-off-by: Michael Pollind <mpollind@gmail.com> * chore: update clang warnings Signed-off-by: Michael Pollind <mpollind@gmail.com> * chore: fix clang errors Signed-off-by: Michael Pollind <mpollind@gmail.com> * chore: remove unused refrence for g_indices and address range based for loop warnings Signed-off-by: Michael Pollind <mpollind@gmail.com> * chore: fix clang warnings for test cases Signed-off-by: Michael Pollind <mpollind@gmail.com>
This commit is contained in:
@@ -180,11 +180,11 @@ namespace WhiteBox
|
||||
// fill vertex position array
|
||||
size_t index = 0;
|
||||
const auto faceHandles = Api::MeshFaceHandles(whiteBox);
|
||||
for (const auto faceHandle : faceHandles)
|
||||
for (const auto& faceHandle : faceHandles)
|
||||
{
|
||||
const auto faceHalfedgeHandles = Api::FaceHalfedgeHandles(whiteBox, faceHandle);
|
||||
|
||||
for (const auto halfEdgeHandle : faceHalfedgeHandles)
|
||||
for (const auto& halfEdgeHandle : faceHalfedgeHandles)
|
||||
{
|
||||
const auto vh = Api::HalfedgeVertexHandleAtTip(whiteBox, halfEdgeHandle);
|
||||
vertices[index] = Api::VertexPosition(whiteBox, vh);
|
||||
|
||||
Reference in New Issue
Block a user