mirror of https://github.com/axmolengine/axmol.git
update terrain test
This commit is contained in:
parent
2be309d841
commit
58a9e43c9c
|
@ -127,6 +127,7 @@ void TerrainWalkThru::onTouchesBegan(const std::vector<cocos2d::Touch*>& touches
|
|||
|
||||
void TerrainWalkThru::onTouchesEnd(const std::vector<cocos2d::Touch*>& touches, cocos2d::Event* event)
|
||||
{
|
||||
_terrain->reload();
|
||||
auto touch = touches[0];
|
||||
auto location = touch->getLocationInView();
|
||||
if(_camera)
|
||||
|
|
Loading…
Reference in New Issue