diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2018-11-24 16:24:36 +0300 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2018-11-24 16:30:19 +0300 |
commit | 0c8b0771f26120d557c80df1a30905c8228fd702 (patch) | |
tree | a0d52c27b7a4b19d9b140942ffeb58f79dceded3 /source/blender/collada/collada_internal.h | |
parent | 31e3b7790affbde212bb2ccc6d5195a684010928 (diff) |
refactor: Collada reorganize class constructors
- Class constructors without body (only attribute initialisations)
can safely be kept in the class header files
- Constructor variables should be initialized in the order of their
definition in the header files
This change is also aimed to remove a couple of
build warnings from the linux builds.
Diffstat (limited to 'source/blender/collada/collada_internal.h')
-rw-r--r-- | source/blender/collada/collada_internal.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/collada/collada_internal.h b/source/blender/collada/collada_internal.h index a84457f75e7..f16e3a7cf4a 100644 --- a/source/blender/collada/collada_internal.h +++ b/source/blender/collada/collada_internal.h @@ -73,11 +73,9 @@ public: // TODO need also for angle conversion, time conversion... - void dae_matrix_to_mat4_(float out[4][4], const COLLADABU::Math::Matrix4& in); - - void mat4_to_dae(float out[4][4], float in[4][4]); - - void mat4_to_dae_double(double out[4][4], float in[4][4]); + static void dae_matrix_to_mat4_(float out[4][4], const COLLADABU::Math::Matrix4& in); + static void mat4_to_dae(float out[4][4], float in[4][4]); + static void mat4_to_dae_double(double out[4][4], float in[4][4]); float(&get_rotation())[4][4]; float(&get_scale())[4][4]; |