diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-11-06 03:25:27 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-11-06 04:32:54 +0300 |
commit | 7cb20d841da16d0bffb63154403267500e9941f5 (patch) | |
tree | ef6a5e0b4e1de2f055ad3c0b3d5bb073a237f182 /source/blender/freestyle/intern/stroke/Chain.cpp | |
parent | 4a78a2774bee655a54391cc8fafae2d20ead2bb0 (diff) |
Cleanup: follow our code style for float literals
Diffstat (limited to 'source/blender/freestyle/intern/stroke/Chain.cpp')
-rw-r--r-- | source/blender/freestyle/intern/stroke/Chain.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/stroke/Chain.cpp b/source/blender/freestyle/intern/stroke/Chain.cpp index 562ca32be78..4a0f31bc910 100644 --- a/source/blender/freestyle/intern/stroke/Chain.cpp +++ b/source/blender/freestyle/intern/stroke/Chain.cpp @@ -53,7 +53,7 @@ void Chain::push_viewedge_back(ViewEdge *iViewEdge, bool orientation) } // Ensure the continuity of underlying FEdges CurvePoint *cp = - _Vertices.back(); // assumed to be instantiated as new CurvePoint(iSVertex, 0, 0.f); + _Vertices.back(); // assumed to be instantiated as new CurvePoint(iSVertex, 0, 0.0f); SVertex *sv_first = (*vfirst); FEdge *fe = _fedgeB->duplicate(); fe->setTemporary(true); @@ -117,7 +117,7 @@ void Chain::push_viewedge_front(ViewEdge *iViewEdge, bool orientation) } // Ensure the continuity of underlying FEdges CurvePoint *cp = - _Vertices.front(); // assumed to be instantiated as new CurvePoint(iSVertex, 0, 0.f); + _Vertices.front(); // assumed to be instantiated as new CurvePoint(iSVertex, 0, 0.0f); SVertex *sv_last = cp->A(); SVertex *sv_curr = (*v); FEdge *fe = (orientation) ? iViewEdge->fedgeA() : iViewEdge->fedgeB(); |