remove kmMat4 interface in class DrawNode

This commit is contained in:
Huabing.Xu 2014-04-09 09:59:56 +08:00
parent 409b696bab
commit 3e16857c92
2 changed files with 2 additions and 2 deletions

View File

@ -212,7 +212,7 @@ void DrawNode::draw(Renderer *renderer, const Matrix &transform, bool transformU
renderer->addCommand(&_customCommand);
}
void DrawNode::onDraw(const kmMat4 &transform, bool transformUpdated)
void DrawNode::onDraw(const Matrix &transform, bool transformUpdated)
{
getShaderProgram()->use();
getShaderProgram()->setUniformsForBuiltins(transform);

View File

@ -89,7 +89,7 @@ public:
*/
void setBlendFunc(const BlendFunc &blendFunc);
void onDraw(const kmMat4 &transform, bool transformUpdated);
void onDraw(const Matrix &transform, bool transformUpdated);
// Overrides
virtual void draw(Renderer *renderer, const Matrix &transform, bool transformUpdated) override;