Skip to content
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

Merged
merged 1 commit into from
Feb 9, 2024
Merged

Sync frame 2 #47

merged 1 commit into from
Feb 9, 2024

Conversation

malleoz
Copy link
Contributor

@malleoz malleoz commented Feb 8, 2024

  • KartDynamics::m_totalForce was not being reset at the end of KartDynamics::calc
  • KartDynamics::m_extVel was not being modified (effectively reset) in KartSub::calcPass0

Comment on lines +103 to +105
std::pair<Vector3f, Vector3f> Vector3f::projAndRej(const Vector3f &rhs) {
return std::pair(proj(rhs), rej(rhs));
}
Copy link
Contributor Author

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?

Copy link
Owner

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.

local_38 = local_38.rej(move()->smoothedUp());
} else {
local_38.x = 0.0f;
local_38.y = 0.0f;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
local_38.y = 0.0f;
local_38.z = 0.0f;

Copy link
Owner

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.

@vabold vabold merged commit 644bc9c into vabold:main Feb 9, 2024
3 checks passed
@malleoz malleoz deleted the frame_2 branch March 31, 2024 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants