2007-10-09 09:27:45 +02:00
|
|
|
#include "precompiled.h"
|
2007-12-23 13:18:57 +01:00
|
|
|
#include "0ad_warning_disable.h"
|
2007-10-09 09:27:45 +02:00
|
|
|
# include "sr_sn_matrix.h"
|
|
|
|
|
|
|
|
//# define SR_USE_TRACE1 // Const/Dest
|
|
|
|
# include "sr_trace.h"
|
|
|
|
|
|
|
|
//======================================= SrSnMatrix ====================================
|
|
|
|
|
|
|
|
const char* SrSnMatrix::class_name = "Matrix";
|
|
|
|
|
|
|
|
SrSnMatrix::SrSnMatrix ()
|
|
|
|
:SrSn ( SrSn::TypeMatrix, SrSnMatrix::class_name )
|
|
|
|
{
|
|
|
|
SR_TRACE1 ( "Constructor" );
|
|
|
|
}
|
|
|
|
|
|
|
|
SrSnMatrix::SrSnMatrix ( const SrMat& m )
|
|
|
|
:SrSn ( SrSn::TypeMatrix, SrSnMatrix::class_name )
|
|
|
|
{
|
|
|
|
SR_TRACE1 ( "Constructor from SrMat" );
|
|
|
|
_mat = m;
|
|
|
|
}
|
|
|
|
|
|
|
|
SrSnMatrix::~SrSnMatrix ()
|
|
|
|
{
|
|
|
|
SR_TRACE1 ( "Destructor" );
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//======================================= EOF ====================================
|
|
|
|
|