[Bf-blender-cvs] [1c40220c237] collada: Cleanup: Collada: Changed comment on BCSample

Gaia Clary noreply at git.blender.org
Wed Mar 28 21:31:27 CEST 2018


Commit: 1c40220c237f6dbc371772c6d499e3bef477e7bc
Author: Gaia Clary
Date:   Sun Mar 25 17:30:43 2018 +0200
Branches: collada
https://developer.blender.org/rB1c40220c237f6dbc371772c6d499e3bef477e7bc

Cleanup: Collada: Changed comment on BCSample

===================================================================

M	source/blender/collada/BCSampleData.h

===================================================================

diff --git a/source/blender/collada/BCSampleData.h b/source/blender/collada/BCSampleData.h
index 3030fe74dec..b0c26cb7acc 100644
--- a/source/blender/collada/BCSampleData.h
+++ b/source/blender/collada/BCSampleData.h
@@ -102,25 +102,10 @@ public:
 
 
 /*
-* BCMatrix is a neat helper class to handle float matrix[4][4] items
-* in a convenient way.
-* Actually i could not figure out how to make BCMatrix an equivalent
-* of a float matrix[4][4] That is why i added the Matrix typedef
-* below. 
-*
-* As the code stands now, i must do this for example:
-*
-* float mat[4][4];
-* BCMatrix obmat;
-* copy_m4_m4(obmat.matrix, mat);
-*
-* I would prefer if i had only BCMatrix and do:
-*
-* float mat[4][4];
-* BCMatrix obmat;
-* copy_m4_m4(obmat, mat);
-*
-* Can this be achieved ?
+Matrix is a convenience typedef for float[4][4]
+BCMatrix is the class version of it. I tried to get away
+without the typedef but then i get into trouble with the
+matrix math functions of blender
 */
 
 typedef float(Matrix)[4][4];



More information about the Bf-blender-cvs mailing list