diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-01-07 22:18:31 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-01-07 22:18:31 +0300 |
commit | 89c9aaaa25cc7ce60c305d8e30e1c008cb117cf1 (patch) | |
tree | ac9e9fc1a682129df4af48a3b9a2fb59e3e85fcf /source/blender/blenlib/intern/math_geom.c | |
parent | 8f21a43535cb200c0569566a1b012aec883aa53c (diff) |
remove references to BKE_utildefines where its not needed.
- move GS() define into DNA_ID.h
- add BLI_utildefines as an automatic include with makesrna generated files.
Diffstat (limited to 'source/blender/blenlib/intern/math_geom.c')
-rw-r--r-- | source/blender/blenlib/intern/math_geom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/math_geom.c b/source/blender/blenlib/intern/math_geom.c index 98ba9b0b41f..fb90af873df 100644 --- a/source/blender/blenlib/intern/math_geom.c +++ b/source/blender/blenlib/intern/math_geom.c @@ -32,7 +32,7 @@ #include "BLI_memarena.h" #include "BLI_utildefines.h" -#include "BKE_utildefines.h" + /********************************** Polygons *********************************/ @@ -630,7 +630,7 @@ static int getLowestRoot(float a, float b, float c, float maxR, float* root) if (determinant >= 0.0f) { // calculate the two roots: (if determinant == 0 then - // x1==x2 but let’s disregard that slight optimization) + // x1==x2 but lets disregard that slight optimization) float sqrtD = (float)sqrt(determinant); float r1 = (-b - sqrtD) / (2.0f*a); float r2 = (-b + sqrtD) / (2.0f*a); |