From 7eb93ea84a875df597d2ebf52f3e1bfa0ba6a7ff Mon Sep 17 00:00:00 2001
From: Yuwei Xiao <xyw1105@126.com>
Date: Sat, 5 Sep 2020 09:28:29 +0800
Subject: [PATCH] comments update

---
 4-2_collision/CollisionDetection.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/4-2_collision/CollisionDetection.h b/4-2_collision/CollisionDetection.h
index 2a667cd..f87e68d 100644
--- a/4-2_collision/CollisionDetection.h
+++ b/4-2_collision/CollisionDetection.h
@@ -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
 
-- 
GitLab