Mathlib: fix formatting errors

Fix some small formatting errors, no logic was changed.
This commit is contained in:
Kawe Mazidjatari 2024-07-29 21:19:57 +02:00
parent 6fc6a6706f
commit 3a2d0bb31a

View File

@ -336,7 +336,7 @@ enum Sides
}; };
#define ON_VIS_EPSILON 0.01 // necessary for vvis (flow.c) -- again look into moving later! #define ON_VIS_EPSILON 0.01 // necessary for vvis (flow.c) -- again look into moving later!
#define EQUAL_EPSILON 0.001 // necessary for vbsp (faces.c) -- should look into moving it there? #define EQUAL_EPSILON 0.001 // necessary for vbsp (faces.c) -- should look into moving it there?
extern bool s_bMathlibInitialized; extern bool s_bMathlibInitialized;
@ -1507,12 +1507,12 @@ void VectorYawRotate(const Vector3D& in, float flYaw, Vector3D& out);
// For example, with biasAmt = 0.2, the curve looks like this: // For example, with biasAmt = 0.2, the curve looks like this:
// //
// 1 // 1
// | * // | *
// | * // | *
// | * // | *
// | ** // | **
// | ** // | **
// | **** // | ****
// |********* // |*********
// |___________________ // |___________________
// 0 1 // 0 1
@ -1521,7 +1521,7 @@ void VectorYawRotate(const Vector3D& in, float flYaw, Vector3D& out);
// With biasAmt = 0.8, the curve looks like this: // With biasAmt = 0.8, the curve looks like this:
// //
// 1 // 1
// | ************** // | **************
// | ** // | **
// | * // | *
// | * // | *
@ -1541,9 +1541,9 @@ float Bias(float x, float biasAmt);
// For example, with biasAmt = 0.2, the curve looks like this: // For example, with biasAmt = 0.2, the curve looks like this:
// //
// 1 // 1
// | * // | *
// | * // | *
// | ** // | **
// | *************** // | ***************
// | ** // | **
// | * // | *
@ -1555,12 +1555,12 @@ float Bias(float x, float biasAmt);
// With biasAmt = 0.8, the curve looks like this: // With biasAmt = 0.8, the curve looks like this:
// //
// 1 // 1
// | ***** // | *****
// | *** // | ***
// | * // | *
// | * // | *
// | * // | *
// | *** // | ***
// |***** // |*****
// |___________________ // |___________________
// 0 1 // 0 1
@ -1574,13 +1574,13 @@ float Gain(float x, float biasAmt);
// The curve looks like this: // The curve looks like this:
// //
// 1 // 1
// | ** // | **
// | * * // | * *
// | * * // | * *
// | * * // | * *
// | * * // | * *
// | ** ** // | ** **
// |*** *** // |*** ***
// |___________________ // |___________________
// 0 1 // 0 1
// //