Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2017-09-05 15:39:00 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-09-05 15:45:44 +0300
commit4d85396fe4f7e3a870fb844b5207179f7dd03eb2 (patch)
treea253707c4af8fee09da0027c8403dca16ed0c7a7 /source/blender/blenlib/intern/math_matrix.c
parentb0bbb5f34f414e4759222a0c1a6fb9e324898235 (diff)
Cleanup: use const
Also use assert w/ rotate_m4.
Diffstat (limited to 'source/blender/blenlib/intern/math_matrix.c')
-rw-r--r--source/blender/blenlib/intern/math_matrix.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/math_matrix.c b/source/blender/blenlib/intern/math_matrix.c
index f47f9ad76e6..d1a219c196a 100644
--- a/source/blender/blenlib/intern/math_matrix.c
+++ b/source/blender/blenlib/intern/math_matrix.c
@@ -1663,6 +1663,9 @@ void rotate_m4(float mat[4][4], const char axis, const float angle)
mat[0][col] = temp;
}
break;
+ default:
+ BLI_assert(0);
+ break;
}
}