mirror of https://github.com/axmolengine/axmol.git
remove kmMat4 interface in class DrawNode
This commit is contained in:
parent
409b696bab
commit
3e16857c92
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue