mirror of https://github.com/axmolengine/axmol.git
remove warning message---continue
This commit is contained in:
parent
0dab97919f
commit
718f3b3a57
|
@ -475,13 +475,13 @@ NewCullingTest::NewCullingTest()
|
||||||
Size size = Director::getInstance()->getWinSize();
|
Size size = Director::getInstance()->getWinSize();
|
||||||
auto sprite = Sprite::create("Images/btn-about-normal-vertical.png");
|
auto sprite = Sprite::create("Images/btn-about-normal-vertical.png");
|
||||||
sprite->setRotation(5);
|
sprite->setRotation(5);
|
||||||
sprite->setPosition(Point(size.width/2,size.height/3));
|
sprite->setPosition(Vector2(size.width/2,size.height/3));
|
||||||
sprite->setScale(2);
|
sprite->setScale(2);
|
||||||
addChild(sprite);
|
addChild(sprite);
|
||||||
|
|
||||||
auto sprite2 = Sprite::create("Images/btn-about-normal-vertical.png");
|
auto sprite2 = Sprite::create("Images/btn-about-normal-vertical.png");
|
||||||
sprite2->setRotation(-85);
|
sprite2->setRotation(-85);
|
||||||
sprite2->setPosition(Point(size.width/2,size.height * 2/3));
|
sprite2->setPosition(Vector2(size.width/2,size.height * 2/3));
|
||||||
sprite2->setScale(2);
|
sprite2->setScale(2);
|
||||||
addChild(sprite2);
|
addChild(sprite2);
|
||||||
|
|
||||||
|
|
|
@ -131,7 +131,7 @@ protected:
|
||||||
virtual ~NewCullingTest();
|
virtual ~NewCullingTest();
|
||||||
bool onTouchBegan(Touch* touch, Event *event);
|
bool onTouchBegan(Touch* touch, Event *event);
|
||||||
void onTouchMoved(Touch* touch, Event *event);
|
void onTouchMoved(Touch* touch, Event *event);
|
||||||
Point _lastPos;
|
Vector2 _lastPos;
|
||||||
};
|
};
|
||||||
|
|
||||||
class VBOFullTest : public MultiSceneTest
|
class VBOFullTest : public MultiSceneTest
|
||||||
|
|
Loading…
Reference in New Issue