diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-01-13 21:10:18 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-01-13 21:11:20 +0300 |
commit | b09563ca8c42f46233bd104e30812e4fc7322ba3 (patch) | |
tree | 49d304ba915aac88b69ab367f98eb71af36f2662 /source/blender/freestyle/intern/winged_edge/Curvature.cpp | |
parent | ef80914c99fb94a4bc7e02a1f808eb0162577fec (diff) |
Cleanup: fixes for building with recent clang
Diffstat (limited to 'source/blender/freestyle/intern/winged_edge/Curvature.cpp')
-rw-r--r-- | source/blender/freestyle/intern/winged_edge/Curvature.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/winged_edge/Curvature.cpp b/source/blender/freestyle/intern/winged_edge/Curvature.cpp index 38941b23357..31396688422 100644 --- a/source/blender/freestyle/intern/winged_edge/Curvature.cpp +++ b/source/blender/freestyle/intern/winged_edge/Curvature.cpp @@ -535,6 +535,7 @@ void gts_vertex_principal_directions(WVertex *v, Vec3r Kh, real Kg, Vec3r &e1, V namespace OGF { +#if 0 inline static real angle(WOEdge *h) { const Vec3r& n1 = h->GetbFace()->GetNormal(); @@ -549,6 +550,7 @@ inline static real angle(WOEdge *h) } return ::asin(sine); } +#endif // precondition1: P is inside the sphere // precondition2: P,V points to the outside of the sphere (i.e. OP.V > 0) |