fix crash in some cases

This commit is contained in:
nillerusr
2023-10-23 19:52:35 +03:00
parent 047f8b1185
commit b8558de63e
6 changed files with 12 additions and 6 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ inline T clamp( T const &val, T const &minVal, T const &maxVal )
// FIXME: this should move to a different file
struct cplane_t
{
VectorAligned normal;
Vector normal;
float dist;
byte type; // for fast side tests
byte signbits; // signx + (signy<<1) + (signz<<1)