public Real this[ int index ]
{
get
{
//Debug.Assert(index >= 0 && index < 16, "Attempt to access Matrix4 linear indexer out of bounds.");
unsafe
{
fixed ( Real* pMatrix = &this.m00 )
{
return *( pMatrix + index );
}
}
}
set
{
//Debug.Assert(index >= 0 && index < 16, "Attempt to access Matrix4 linear indexer out of bounds.");
unsafe
{
fixed ( Real* pMatrix = &this.m00 )
{
*( pMatrix + index ) = value;
}
}
}
}