Sources/CcgDump/CgfUtils.cpp
// copies the matrix from  SBoneInitPosMatrix to Matrix

copies the matrix from  SBoneInitPosMatrix to Matrix
copies the matrix from SBoneInitPosMatrix to Matrix
void copyMatrix (Matrix44& matDst, const SBoneInitPosMatrix& matSrc)
{
	for (unsigned i = 0; i < 4; ++i)
	{
		matDst(i,0) = matSrc[i][0];
		matDst(i,1) = matSrc[i][1];
		matDst(i,2) = matSrc[i][2];
	}
	matDst(0,3) = 0;
	matDst(1,3) = 0;
	matDst(2,3) = 0;
	matDst(3,3) = 1;
}
void copyMatrix ( Matrix44 & matDst , const SBoneInitPosMatrix & matSrc ) { for ( unsigned i = 0 ; i < 4 ; ++ i ) { matDst ( i , 0 ) = matSrc [ i ] [ 0 ] ; matDst ( i , 1 ) = matSrc [ i ] [ 1 ] ; matDst ( i , 2 ) = matSrc [ i ] [ 2 ] ; } matDst ( 0 , 3 ) = 0 ; matDst ( 1 , 3 ) = 0 ; matDst ( 2 , 3 ) = 0 ; matDst ( 3 , 3 ) = 1 ; }
copies the matrix from  SBoneInitPosMatrix to Matrix
copies the matrix from SBoneInitPosMatrix to Matrix