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-2022
Commits
7eb93ea8
Commit
7eb93ea8
authored
Sep 05, 2020
by
Yuwei Xiao
Browse files
comments update
parent
2e152217
Changes
1
Hide whitespace changes
Inline
Side-by-side
4-2_collision/CollisionDetection.h
View file @
7eb93ea8
...
...
@@ -13,8 +13,8 @@ enum class ContactType { VERTEXFACE, EDGEEDGE, NONE };
struct
Contact
{
RigidObject
*
a
;
// body containing vertex
RigidObject
*
b
;
// body containing face
Eigen
::
Vector3d
n
;
//
world-space vertex location
Eigen
::
Vector3d
p
;
//
outwards pointing normal of face
Eigen
::
Vector3d
n
;
//
outwards pointing normal of face
Eigen
::
Vector3d
p
;
//
world-space vertex location
Eigen
::
Vector3d
ea
;
// edge direction for A
Eigen
::
Vector3d
eb
;
// edge direction for B
...
...
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