diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2019-05-28 10:23:05 +0300 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2019-06-03 00:00:56 +0300 |
commit | 122b9478c66e13fa3c14da606cfa92528acd0b87 (patch) | |
tree | d2105c15b7b67aac115b3e1271dbe8996433d1ec /source/blender/collada/BCMath.h | |
parent | 70bc179c45414bd426af49c883fcab1e3bebabf8 (diff) |
refactor collada: replace bc_sanitize_mat() by static class method in BCMatrix
Diffstat (limited to 'source/blender/collada/BCMath.h')
-rw-r--r-- | source/blender/collada/BCMath.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/collada/BCMath.h b/source/blender/collada/BCMath.h index 2866e983689..00e8f24c970 100644 --- a/source/blender/collada/BCMath.h +++ b/source/blender/collada/BCMath.h @@ -32,9 +32,6 @@ class BCQuat { private: mutable Quat q; - void unit(); - void copy(Quat &r, Quat &a); - public: BCQuat(const BCQuat &other) { @@ -102,7 +99,9 @@ class BCMatrix { void apply_transform(const BCMatrix &matrix, const bool inverted = false); const bool in_range(const BCMatrix &other, float distance) const; + static void sanitize(Matrix &matrix, int precision); + static void sanitize(DMatrix &matrix, int precision); static void transpose(Matrix &matrix); }; |