mirror of https://github.com/axmolengine/axmol.git
comment kmMat4 & Matrix conversion code
This commit is contained in:
parent
15cc63c2ba
commit
c081fc61aa
|
@ -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.
|
||||
* */
|
||||
|
|
Loading…
Reference in New Issue