-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Take orientation into account when reporting accelerometer sensor readout #3401
Conversation
_orientation = AConfiguration_getOrientation(_currentconf); | ||
|
||
cocos2d::Director* pDirector = cocos2d::Director::getInstance(); | ||
if (ACONFIGURATION_ORIENTATION_LAND != _orientation) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add {
in a new line to obey the coding style.
And don't use Hungarian style: pDirector
.
Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed the hungarian notation.
The coding style seems to be conflicted about braces see
http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Cocos2d_C++_Coding_Style#Conditionals
vs.
http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Cocos2d_C++_Coding_Style#Function-Declarations-and-Definitions
Take orientation into account when reporting accelerometer sensor readout
issue #3401: physical lua binding
…, and fix some bugs.
issue #3401: add bit operation for lua physics test
Take orientation into account when reporting accelerometer sensor readout
issue cocos2d#3401: physical lua binding
…, and fix some bugs.
issue cocos2d#3401: add bit operation for lua physics test
issue cocos2d#3401: add bit operation for lua physics test
Take orientation into account when reporting accelerometer sensor readout
issue cocos2d#3401: physical lua binding
…, and fix some bugs.
issue cocos2d#3401: add bit operation for lua physics test
Take orientation into account when reporting accelerometer sensor readout
issue cocos2d#3401: physical lua binding
…, and fix some bugs.
issue cocos2d#3401: add bit operation for lua physics test
No description provided.