-
Notifications
You must be signed in to change notification settings - Fork 41
[WIP] Work on KartObjectProxy (and related) #301
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
Conversation
Report for RMCP01 (6eed2ce - c681e7e)📈 Matched code: 5.69% (+0.01%, +416 bytes) ✅ 22 new matches:
📈 1 improvements in unmatched functions:
📉 190 regressions in unmatched functions:
...and 160 more regressions in unmatched functions |
em-eight
left a comment
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.
Welcome : )
src/kart/KartObjectProxy.cpp
Outdated
| dynamics = kartDynamics(); | ||
| dynamics->pos.x = x; | ||
| dynamics->pos.y = y; | ||
| dynamics->pos.z = z; |
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.
Move definitions to declarations if you can maintain matching
src/kart/KartObjectProxy.cpp
Outdated
| dynamics->mainRot.x = x; | ||
| dynamics->mainRot.y = y; | ||
| dynamics->mainRot.z = z; | ||
| dynamics->mainRot.w = w; |
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.
Move definitions to declarations if you can maintain matching
src/kart/KartSus.hpp
Outdated
|
|
||
| namespace Kart { | ||
| class KartSus { | ||
| class KartSusPhysics; |
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.
indentation. Also would be good to leave an empty line between declarations
src/kart/KartObjectProxy.cpp
Outdated
| dynamics->mainRot.z = z; | ||
| dynamics->mainRot.w = w; | ||
| void KartObjectProxy::setRot(const EGG::Quatf &rot) { | ||
| KartDynamics* dynamics =kartDynamics(); |
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.
one more indentation hiccup
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.
should be fixed now
working on the Kart objects