mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 17:59:37 +00:00
WIP: fix compilation issues
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user