Merge pull request #14293 from xiaofeng11/v3_23634

Remove redundancy code
This commit is contained in:
pandamicro 2015-11-02 17:00:18 +08:00
commit f76b941415
1 changed files with 0 additions and 2 deletions

View File

@ -444,8 +444,6 @@ void Camera3DTestDemo::move3D(float elapsedTime)
Vec3 offset = newFaceDir * 25.0f * elapsedTime;
curPos+=offset;
_sprite3D->setPosition3D(curPos);
offset.x=offset.x;
offset.z=offset.z;
if(_cameraType==CameraType::ThirdPerson)
{
Vec3 cameraPos= _camera->getPosition3D();