-
Notifications
You must be signed in to change notification settings - Fork 11
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
Sync frame 2 #47
Sync frame 2 #47
Conversation
std::pair<Vector3f, Vector3f> Vector3f::projAndRej(const Vector3f &rhs) { | ||
return std::pair(proj(rhs), rej(rhs)); | ||
} |
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.
We don't need this immediately... We will undoubtedly need it soon, probably for frame 3. Want to keep anyway?
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.
Sure, less diff noise later.
source/game/kart/KartSub.cc
Outdated
local_38 = local_38.rej(move()->smoothedUp()); | ||
} else { | ||
local_38.x = 0.0f; | ||
local_38.y = 0.0f; |
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.
local_38.y = 0.0f; | |
local_38.z = 0.0f; |
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.
We should also consider using a more descriptive name.
KartDynamics::m_totalForce
was not being reset at the end ofKartDynamics::calc
KartDynamics::m_extVel
was not being modified (effectively reset) inKartSub::calcPass0