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:
authorCampbell Barton <ideasman42@gmail.com>2021-07-23 09:56:00 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-07-23 10:03:51 +0300
commitced94bc11c84f3c997949c2a0ec2449054a8e417 (patch)
tree03a684ca483d2707905f001da29ad600c1eeb394 /source/blender/freestyle
parent7ce0d9d79166c281c161d124ee72dc448efd4325 (diff)
Cleanup: code comments punctuation / spacing
Diffstat (limited to 'source/blender/freestyle')
-rw-r--r--source/blender/freestyle/intern/view_map/Interface0D.h4
-rw-r--r--source/blender/freestyle/intern/view_map/Silhouette.h6
-rw-r--r--source/blender/freestyle/intern/view_map/ViewMap.h12
3 files changed, 13 insertions, 9 deletions
diff --git a/source/blender/freestyle/intern/view_map/Interface0D.h b/source/blender/freestyle/intern/view_map/Interface0D.h
index 065319578e5..d7b213706b5 100644
--- a/source/blender/freestyle/intern/view_map/Interface0D.h
+++ b/source/blender/freestyle/intern/view_map/Interface0D.h
@@ -311,13 +311,13 @@ class Interface0DIterator : public Iterator {
return result;
}
- /** operator == . */
+ /** operator `==`. */
bool operator==(const Interface0DIterator &it) const
{
return _iterator->operator==(*(it._iterator));
}
- /** operator != . */
+ /** operator `!=`. */
bool operator!=(const Interface0DIterator &it) const
{
return !(*this == it);
diff --git a/source/blender/freestyle/intern/view_map/Silhouette.h b/source/blender/freestyle/intern/view_map/Silhouette.h
index 3709b0ae11a..479dbaeedc1 100644
--- a/source/blender/freestyle/intern/view_map/Silhouette.h
+++ b/source/blender/freestyle/intern/view_map/Silhouette.h
@@ -745,7 +745,7 @@ class FEdge : public Interface1D {
_VertexB = vB;
}
- /** Sets the FEdge Id . */
+ /** Sets the FEdge Id. */
inline void setId(const Id &id)
{
_Id = id;
@@ -1153,7 +1153,7 @@ class FEdgeSharp : public FEdge {
bool _bFaceMark;
public:
- /** Returns the string "FEdgeSharp" . */
+ /** Returns the string "FEdgeSharp". */
virtual string getExactTypeName() const
{
return "FEdgeSharp";
@@ -1305,7 +1305,7 @@ class FEdgeSmooth : public FEdge {
bool _FaceMark;
public:
- /** Returns the string "FEdgeSmooth" . */
+ /** Returns the string "FEdgeSmooth". */
virtual string getExactTypeName() const
{
return "FEdgeSmooth";
diff --git a/source/blender/freestyle/intern/view_map/ViewMap.h b/source/blender/freestyle/intern/view_map/ViewMap.h
index bd7edad7642..e7d57c9dfb4 100644
--- a/source/blender/freestyle/intern/view_map/ViewMap.h
+++ b/source/blender/freestyle/intern/view_map/ViewMap.h
@@ -477,10 +477,14 @@ class TVertex : public ViewVertex {
directedViewEdge _FrontEdgeB;
directedViewEdge _BackEdgeA;
directedViewEdge _BackEdgeB;
- Id _Id; // id to identify t vertices . these id will be negative in order not to be mixed with
- // NonTVertex ids.
- edge_pointers_container
- _sortedEdges; // the list of the four ViewEdges, ordered in CCW order (in the image plan)
+
+ /**
+ * ID to identify t vertices.
+ * these id will be negative in order not to be mixed with NonTVertex ids.
+ */
+ Id _Id;
+ /** The list of the four ViewEdges, ordered in CCW order (in the image plan). */
+ edge_pointers_container _sortedEdges;
public:
/** Default constructor. */