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:
Diffstat (limited to 'source/blender/collada/collada_utils.cpp')
-rw-r--r--source/blender/collada/collada_utils.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/source/blender/collada/collada_utils.cpp b/source/blender/collada/collada_utils.cpp
index 9e480e7faf0..e42ceda7da8 100644
--- a/source/blender/collada/collada_utils.cpp
+++ b/source/blender/collada/collada_utils.cpp
@@ -1085,20 +1085,6 @@ void bc_create_restpose_mat(BCExportSettings &export_settings,
loc_eulO_size_to_mat4(to_mat, loc, rot, scale, 6);
}
-/*
- * Make 4*4 matrices better readable
- */
-void bc_sanitize_mat(float mat[4][4], int precision)
-{
- for (int i = 0; i < 4; i++) {
- for (int j = 0; j < 4; j++) {
- double val = (double)mat[i][j];
- val = double_round(val, precision);
- mat[i][j] = (float)val;
- }
- }
-}
-
void bc_sanitize_v3(float v[3], int precision)
{
for (int i = 0; i < 3; i++) {
@@ -1108,15 +1094,6 @@ void bc_sanitize_v3(float v[3], int precision)
}
}
-void bc_sanitize_mat(double mat[4][4], int precision)
-{
- for (int i = 0; i < 4; i++) {
- for (int j = 0; j < 4; j++) {
- mat[i][j] = double_round(mat[i][j], precision);
- }
- }
-}
-
void bc_sanitize_v3(double v[3], int precision)
{
for (int i = 0; i < 3; i++) {