diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2012-02-29 19:10:01 +0400 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2012-02-29 19:10:01 +0400 |
commit | 87af0e19129978ea13efb3e4ad3588089899453f (patch) | |
tree | 98dcaa28a82a438030d6744a36c8ba3b8441c70f | |
parent | 7cc206ddca5fd240f87210d6dfb311c81ca4ac65 (diff) |
Undid part of commit 44552: can't use mathutils on doubles
-rw-r--r-- | source/blender/bmesh/intern/bmesh_polygon.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/bmesh/intern/bmesh_polygon.c b/source/blender/bmesh/intern/bmesh_polygon.c index 83b00a45806..38970b777bd 100644 --- a/source/blender/bmesh/intern/bmesh_polygon.c +++ b/source/blender/bmesh/intern/bmesh_polygon.c @@ -697,9 +697,9 @@ static int goodline(float (*projectverts)[3], BMFace *f, int v1i, double v1[3], v2[3], v3[3], pv1[3], pv2[3]; int i; - copy_v3_v3(v1, projectverts[v1i]); - copy_v3_v3(v2, projectverts[v2i]); - copy_v3_v3(v3, projectverts[v3i]); + VECCOPY(v1, projectverts[v1i]) + VECCOPY(v2, projectverts[v2i]); + VECCOPY(v3, projectverts[v3i]); if (testedgeside(v1, v2, v3)) { return FALSE; @@ -713,8 +713,8 @@ static int goodline(float (*projectverts)[3], BMFace *f, int v1i, continue; } - copy_v3_v3(pv1, projectverts[BM_elem_index_get(l_iter->v)]); - copy_v3_v3(pv2, projectverts[BM_elem_index_get(l_iter->next->v)]); + VECCOPY(pv1, projectverts[BM_elem_index_get(l_iter->v)]); + VECCOPY(pv2, projectverts[BM_elem_index_get(l_iter->next->v)]); //if (linecrosses(pv1, pv2, v1, v3)) return FALSE; |