Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtx(); | Create a new TMtx object. |
| 2 | TMtx(const DewArray<unsigned char> &Src); |
Overload 1: TMtx();
Create a new TMtx object.
Remarks:
Creates a new TMtx object. You should use the MtxVec::CreateIt where possible and avoid using the Create constructor, but only in cases when the object is created and destroy within the same routine.
Examples
#include "MtxVec.h"
#include "Units.MtxVec.h"
using namespace Dew;
using namespace Dew::Math;
using namespace Dew::Math::Units::MtxVec;
void Example()
{
TMtx* A;
A = new TMtx();
A->Size(20, 20, false);
A->Free(); // takes about 500 CPU cycles
CreateIt(A);
A->Size(20, 20, false);
FreeIt(A); // takes only about 40 CPU cycles
}
Declared in Dew::Math::TMtx · Dew.Math/MtxVec.h · Cross-compiler
Overload 2: TMtx(const DewArray<unsigned char> &Src);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | const DewArray<unsigned char> & |
Declared in Dew::Math::TMtx · Dew.Math/MtxVec.h · Cross-compiler