comment kmMat4 & Matrix conversion code

This commit is contained in:
Huabing.Xu 2014-04-14 17:49:45 +08:00
parent 15cc63c2ba
commit c081fc61aa
1 changed files with 11 additions and 11 deletions

View File

@ -44,18 +44,18 @@ NS_CC_MATH_BEGIN
class Matrix
{
public:
//temp add conversion
operator kmMat4() const
{
kmMat4 result;
kmMat4Fill(&result, m);
return result;
}
// //temp add conversion
// operator kmMat4() const
// {
// kmMat4 result;
// kmMat4Fill(&result, m);
// return result;
// }
Matrix(const kmMat4& mat)
{
set(mat.mat);
}
// Matrix(const kmMat4& mat)
// {
// set(mat.mat);
// }
/**
* Stores the columns of this 4x4 matrix.
* */