remove kmMat4 interface in class Layer

This commit is contained in:
Huabing.Xu 2014-04-09 10:37:41 +08:00
parent be4901d078
commit 9496399cd0
2 changed files with 2 additions and 2 deletions

View File

@ -597,7 +597,7 @@ void LayerColor::draw(Renderer *renderer, const Matrix &transform, bool transfor
}
}
void LayerColor::onDraw(const kmMat4& transform, bool transformUpdated)
void LayerColor::onDraw(const Matrix& transform, bool transformUpdated)
{
getShaderProgram()->use();
getShaderProgram()->setUniformsForBuiltins(transform);

View File

@ -296,7 +296,7 @@ CC_CONSTRUCTOR_ACCESS:
bool initWithColor(const Color4B& color);
protected:
void onDraw(const kmMat4& transform, bool transformUpdated);
void onDraw(const Matrix& transform, bool transformUpdated);
virtual void updateColor() override;