16 lines
229 B
C++
16 lines
229 B
C++
|
|
#include <iostream>
|
|
#include <cassert>
|
|
#include "util/Transform.h"
|
|
using namespace std;
|
|
|
|
int main()
|
|
{
|
|
Transform t;
|
|
t.scale(3, 2, 1);
|
|
t.translate(-1, 2, 3);
|
|
cout << "t:" << endl << t.getMatrix();
|
|
|
|
return 0;
|
|
}
|