From 9496399cd04f331a7eb0b5b262a4d1219bb35ee9 Mon Sep 17 00:00:00 2001 From: "Huabing.Xu" Date: Wed, 9 Apr 2014 10:37:41 +0800 Subject: [PATCH] remove kmMat4 interface in class Layer --- cocos/2d/CCLayer.cpp | 2 +- cocos/2d/CCLayer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cocos/2d/CCLayer.cpp b/cocos/2d/CCLayer.cpp index 5795d863a5..8eda7bd445 100644 --- a/cocos/2d/CCLayer.cpp +++ b/cocos/2d/CCLayer.cpp @@ -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); diff --git a/cocos/2d/CCLayer.h b/cocos/2d/CCLayer.h index 154feeed76..5deab6cf3b 100644 --- a/cocos/2d/CCLayer.h +++ b/cocos/2d/CCLayer.h @@ -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;