From ddb3b5efa399e31f9ded68812e6a06e454f45f9c Mon Sep 17 00:00:00 2001 From: chronokun Date: Wed, 22 Jul 2015 23:31:24 +1200 Subject: [PATCH] Bumped up distances for clipping plane points. --- ReflexToQ3/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ReflexToQ3/main.cpp b/ReflexToQ3/main.cpp index b2c5146..257ce81 100644 --- a/ReflexToQ3/main.cpp +++ b/ReflexToQ3/main.cpp @@ -39,10 +39,10 @@ TPlanePoints GetPlanePoints(const TVector3f* _kpPoints, const size_t _kNumPoints } // Find Tangent - const TVector3f kTangent = ScalarMultiply(TVector3f(), Normalize(TVector3f(), Subtract(TVector3f(), _kpPoints[1], _kpPoints[0])), fWidth); + const TVector3f kTangent = ScalarMultiply(TVector3f(), Normalize(TVector3f(), Subtract(TVector3f(), _kpPoints[1], _kpPoints[0])), fWidth*10.0f); // Find BiTangent - const TVector3f kBiTangent = ScalarMultiply(TVector3f(), Normalize(TVector3f(), CrossProduct(TVector3f(), kNormal, kTangent)), fWidth); + const TVector3f kBiTangent = ScalarMultiply(TVector3f(), Normalize(TVector3f(), CrossProduct(TVector3f(), kNormal, kTangent)), fWidth*10.0f); PlanePoints.m_A = Add(TVector3f(), kCenter, kBiTangent); PlanePoints.m_B = kCenter;