Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
CA-Framework-2022
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Courses
CA-Framework-2022
Commits
7eb93ea8
Commit
7eb93ea8
authored
4 years ago
by
Yuwei Xiao
Browse files
Options
Downloads
Patches
Plain Diff
comments update
parent
2e152217
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
4-2_collision/CollisionDetection.h
+2
-2
2 additions, 2 deletions
4-2_collision/CollisionDetection.h
with
2 additions
and
2 deletions
4-2_collision/CollisionDetection.h
+
2
−
2
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment