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