Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/opensubdiv/internal/opensubdiv_converter_orient_impl.h')
-rw-r--r--intern/opensubdiv/internal/opensubdiv_converter_orient_impl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/intern/opensubdiv/internal/opensubdiv_converter_orient_impl.h b/intern/opensubdiv/internal/opensubdiv_converter_orient_impl.h
index 3125bc600e5..3e946595bba 100644
--- a/intern/opensubdiv/internal/opensubdiv_converter_orient_impl.h
+++ b/intern/opensubdiv/internal/opensubdiv_converter_orient_impl.h
@@ -21,9 +21,9 @@
#include "internal/opensubdiv_converter_orient.h"
-#include <algorithm>
#include <cmath>
-#include <utility>
+
+#include "internal/opensubdiv_util.h"
namespace opensubdiv_capi {
@@ -54,8 +54,8 @@ inline void reverseFaceLoops(
for (int i = 0; i < num_face_vertices / 2; ++i) {
const int j = num_face_vertices - i - 1;
if (i != j) {
- std::swap((*face_vertices)[i], (*face_vertices)[j]);
- std::swap((*face_edges)[i], (*face_edges)[j]);
+ swap((*face_vertices)[i], (*face_vertices)[j]);
+ swap((*face_edges)[i], (*face_edges)[j]);
}
}
reverseFaceVertices(&(*face_vertices)[0], num_face_vertices);