diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-08 10:31:42 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-08 10:31:42 +0300 |
commit | c7609a27b3625feef2749028fe6a220a0ec83918 (patch) | |
tree | ff9999874b15bab2b9d00b1480e6612a8dbb0e37 | |
parent | 97edca3bc9441eb5c99ed56e7d67b083931215b0 (diff) |
remove unused RegionView3D retopo pointer and set quat printing to const args.
-rw-r--r-- | source/blender/blenlib/BLI_math_rotation.h | 2 | ||||
-rw-r--r-- | source/blender/blenlib/intern/math_rotation.c | 2 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_view3d_types.h | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/blenlib/BLI_math_rotation.h b/source/blender/blenlib/BLI_math_rotation.h index d1f5fa89c3d..11849e0be6d 100644 --- a/source/blender/blenlib/BLI_math_rotation.h +++ b/source/blender/blenlib/BLI_math_rotation.h @@ -85,7 +85,7 @@ void rotation_between_quats_to_quat(float q[4], const float q1[4], const float q void mat3_to_quat_is_ok(float q[4], float mat[3][3]); /* other */ -void print_qt(char *str, float q[4]); +void print_qt(const char *str, const float q[4]); /******************************** Axis Angle *********************************/ diff --git a/source/blender/blenlib/intern/math_rotation.c b/source/blender/blenlib/intern/math_rotation.c index 90614402b0d..d9afd9f3cd4 100644 --- a/source/blender/blenlib/intern/math_rotation.c +++ b/source/blender/blenlib/intern/math_rotation.c @@ -635,7 +635,7 @@ void tri_to_quat(float quat[4], const float v1[3], const float v2[3], const floa mul_qt_qtqt(quat, q1, q2); } -void print_qt(char *str, float q[4]) +void print_qt(const char *str, const float q[4]) { printf("%s: %.3f %.3f %.3f %.3f\n", str, q[0], q[1], q[2], q[3]); } diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h index 3ffef475e1b..a089fea5129 100644 --- a/source/blender/makesdna/DNA_view3d_types.h +++ b/source/blender/makesdna/DNA_view3d_types.h @@ -41,7 +41,6 @@ struct SpaceLink; struct Base; struct BoundBox; struct RenderInfo; -struct RetopoViewData; struct bGPdata; struct SmoothViewStore; struct wmTimer; @@ -115,7 +114,6 @@ typedef struct RegionView3D { struct RegionView3D *localvd; struct RenderInfo *ri; - struct RetopoViewData *retopo_view_data; struct ViewDepths *depths; /* animated smooth view */ |