remove warning message---continue

This commit is contained in:
Huabing.Xu 2014-04-16 10:47:29 +08:00
parent 0dab97919f
commit 718f3b3a57
2 changed files with 3 additions and 3 deletions

View File

@ -475,13 +475,13 @@ NewCullingTest::NewCullingTest()
Size size = Director::getInstance()->getWinSize();
auto sprite = Sprite::create("Images/btn-about-normal-vertical.png");
sprite->setRotation(5);
sprite->setPosition(Point(size.width/2,size.height/3));
sprite->setPosition(Vector2(size.width/2,size.height/3));
sprite->setScale(2);
addChild(sprite);
auto sprite2 = Sprite::create("Images/btn-about-normal-vertical.png");
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);
addChild(sprite2);

View File

@ -131,7 +131,7 @@ protected:
virtual ~NewCullingTest();
bool onTouchBegan(Touch* touch, Event *event);
void onTouchMoved(Touch* touch, Event *event);
Point _lastPos;
Vector2 _lastPos;
};
class VBOFullTest : public MultiSceneTest