-
Notifications
You must be signed in to change notification settings - Fork 33
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
Add warm starting #1389
base: main
Are you sure you want to change the base?
Add warm starting #1389
Conversation
|
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.
Clang-Tidy
found issue(s) with the introduced code (1/1)
pointData.normalImpulse = 0.0F; | ||
pointData.frictionImpulse1 = 0.0F; | ||
pointData.frictionImpulse2 = 0.0F; | ||
pointData.normalImpulse = point.normalImpulse; |
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.
no member named normalImpulse
in cubos::engine::ContactPointData
pointData.frictionImpulse1 = 0.0F; | ||
pointData.frictionImpulse2 = 0.0F; | ||
pointData.normalImpulse = point.normalImpulse; | ||
pointData.frictionImpulse1 = point.frictionImpulse1; |
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.
no member named frictionImpulse1
in cubos::engine::ContactPointData
pointData.frictionImpulse2 = 0.0F; | ||
pointData.normalImpulse = point.normalImpulse; | ||
pointData.frictionImpulse1 = point.frictionImpulse1; | ||
pointData.frictionImpulse2 = point.frictionImpulse2; |
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.
no member named frictionImpulse2
in cubos::engine::ContactPointData
{ | ||
auto [entity, manifold, other] = *match; | ||
// CUBOS_DEBUG("msize: {}, csize: {}", manifold.points.size(), constraint.points.size()); | ||
for (int i = 0; i < manifold.points.size(); i++) |
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.
comparison of integers of different signs: int
and std::vector::size_type
(aka unsigned long
)
// CUBOS_DEBUG("msize: {}, csize: {}", manifold.points.size(), constraint.points.size()); | ||
for (int i = 0; i < manifold.points.size(); i++) | ||
{ | ||
manifold.points[i].normalImpulse = constraint.points[i].normalImpulse; |
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.
no member named normalImpulse
in cubos::engine::ContactPointData
for (int i = 0; i < manifold.points.size(); i++) | ||
{ | ||
manifold.points[i].normalImpulse = constraint.points[i].normalImpulse; | ||
manifold.points[i].frictionImpulse1 = constraint.points[i].frictionImpulse1; |
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.
no member named frictionImpulse1
in cubos::engine::ContactPointData
{ | ||
manifold.points[i].normalImpulse = constraint.points[i].normalImpulse; | ||
manifold.points[i].frictionImpulse1 = constraint.points[i].frictionImpulse1; | ||
manifold.points[i].frictionImpulse2 = constraint.points[i].frictionImpulse2; |
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.
no member named frictionImpulse2
in cubos::engine::ContactPointData
Description
Putting this here just bc I'm going to nuke the entire repository.
Checklist