WIP: fix compilation issues

This commit is contained in:
nillerusr
2023-10-26 17:07:53 +03:00
parent 2011179696
commit 91a76f2a13
28 changed files with 1666 additions and 19 deletions
+8
View File
@@ -250,6 +250,14 @@ struct matrix3x4_t
float m_flMatVal[3][4];
};
class ALIGN16 matrix3x4a_t : public matrix3x4_t
{
public:
/*
matrix3x4a_t() { if (((size_t)Base()) % 16 != 0) { Error( "matrix3x4a_t missaligned" ); } }
*/
matrix3x4a_t& operator=( const matrix3x4_t& src ) { memcpy( Base(), src.Base(), sizeof( float ) * 3 * 4 ); return *this; };
};
#ifndef M_PI
#define M_PI 3.14159265358979323846 // matches value in gcc v2 math.h