Here are the two classes:
class AxMatrix33{public: union { struct { float _11, _12, _13; float _21, _22, _23; float _31, _32, _33; }; float m[3][3]; }; AxMatrix33 operator * ( const AxMatrix33& ) const;};class AxMatrix44{public: union { struct { float _11, _12, _13, _14; float _21, _22, _23, _24; float _31, _32, _33, _34; float _41, _42, _43, _44; }; float m[4][4]; }; AxMatrix44 operator * ( const AxMatrix44& ) const;};
One is a 3x3 matrix and the other is a 4x4 matrix. I simply want to drop the last row to convert the 4x4 to a 3x3 and add a row to cast the 3x3 to a 4x4. The classes that I have shown are inside a header and the actual implementation of the code will be inside the CPP file.