fix windows compile and running error
initialize member variable
fix indent problems
Merge pull request #7311 from andyque/fixWindowsError

fix windows compile and running error
Merge branch 'v3' of https://github.com/cocos2d/cocos2d-x into v3_animation3D