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
|
class Matrix
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
//temp add conversion
|
// //temp add conversion
|
||||||
operator kmMat4() const
|
// operator kmMat4() const
|
||||||
{
|
// {
|
||||||
kmMat4 result;
|
// kmMat4 result;
|
||||||
kmMat4Fill(&result, m);
|
// kmMat4Fill(&result, m);
|
||||||
return result;
|
// return result;
|
||||||
}
|
// }
|
||||||
|
|
||||||
Matrix(const kmMat4& mat)
|
// Matrix(const kmMat4& mat)
|
||||||
{
|
// {
|
||||||
set(mat.mat);
|
// set(mat.mat);
|
||||||
}
|
// }
|
||||||
/**
|
/**
|
||||||
* Stores the columns of this 4x4 matrix.
|
* Stores the columns of this 4x4 matrix.
|
||||||
* */
|
* */
|
||||||
|
|
Loading…
Reference in New Issue