[Bf-blender-cvs] [030e53da23a] soc-2021-adaptive-cloth: adaptive_cloth: Mesh: Node: get normal
ishbosamiya
noreply at git.blender.org
Mon Sep 6 11:47:41 CEST 2021
Commit: 030e53da23ae7d68ad171181c39cbe56c3d84a03
Author: ishbosamiya
Date: Sun Sep 5 11:03:36 2021 +0530
Branches: soc-2021-adaptive-cloth
https://developer.blender.org/rB030e53da23ae7d68ad171181c39cbe56c3d84a03
adaptive_cloth: Mesh: Node: get normal
===================================================================
M source/blender/blenkernel/BKE_cloth_remesh.hh
===================================================================
diff --git a/source/blender/blenkernel/BKE_cloth_remesh.hh b/source/blender/blenkernel/BKE_cloth_remesh.hh
index 516232ce8de..1db91f425a8 100644
--- a/source/blender/blenkernel/BKE_cloth_remesh.hh
+++ b/source/blender/blenkernel/BKE_cloth_remesh.hh
@@ -391,6 +391,11 @@ template<typename T> class Node {
return this->verts;
}
+ const auto &get_normal() const
+ {
+ return this->normal;
+ }
+
friend std::ostream &operator<<(std::ostream &stream, const Node &node)
{
stream << "(self_index: " << node.self_index << ", verts: " << node.verts
More information about the Bf-blender-cvs
mailing list