PIVector2D resize
This commit is contained in:
11
main.cpp
11
main.cpp
@@ -40,12 +40,11 @@ inline PIByteArray & operator >>(PIByteArray & ba, MM & v) {piCout << ">>"
|
||||
|
||||
|
||||
int main() {
|
||||
PIMathMatrixd m = PIMathMatrixd::identity(3,3);
|
||||
m.fill(0);
|
||||
PIMathMatrixd m2 = PIMathMatrixd::identity(3,4);
|
||||
PIMathMatrixd m = PIMathMatrixd::identity(5,5);
|
||||
// m.fill(9);
|
||||
//PIMathMatrixd m2 = PIMathMatrixd::identity(3,4);
|
||||
piCout << m;
|
||||
m.resize(3,3);
|
||||
piCout << m;
|
||||
piCout << m2;
|
||||
piCout << m * m2;
|
||||
piCout << m2 * m;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user