From 5283b70a83acdbaa9c37f33852fc1ac9a86f7c6b Mon Sep 17 00:00:00 2001 From: Garux Date: Thu, 14 Oct 2021 14:33:44 +0300 Subject: [PATCH] * fix decompilation of brushes with edge case face normal ( -0.577350259 -0.577350259 0.577350259 ) and MakeNormalVectors() in general --- tools/quake3/common/qmath.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/quake3/common/qmath.h b/tools/quake3/common/qmath.h index 4c90617f..7d77296d 100644 --- a/tools/quake3/common/qmath.h +++ b/tools/quake3/common/qmath.h @@ -263,14 +263,21 @@ inline void ComputeAxisBase( const BasicVector3& normal, BasicVector3