Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Courses
CA-Framework
Commits
eee2da08
Commit
eee2da08
authored
Apr 28, 2023
by
Jiarui Li
Browse files
clear penetrating elements
parent
8440750f
Changes
1
Hide whitespace changes
Inline
Side-by-side
3-2_collision/CollisionDetection.cpp
View file @
eee2da08
...
@@ -119,6 +119,8 @@ void CollisionDetection::computeNarrowPhase(int narrowPhaseMethod) {
...
@@ -119,6 +119,8 @@ void CollisionDetection::computeNarrowPhase(int narrowPhaseMethod) {
}
}
}
}
}
}
m_penetratingVertices
.
clear
();
m_penetratingEdges
.
clear
();
}
}
// look for vertexFace
// look for vertexFace
...
@@ -188,4 +190,4 @@ void CollisionDetection::applyImpulse(double eps) {
...
@@ -188,4 +190,4 @@ void CollisionDetection::applyImpulse(double eps) {
//contact.a->setAngularMomentum();
//contact.a->setAngularMomentum();
//contact.b->setAngularMomentum();
//contact.b->setAngularMomentum();
}
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment