pimathvector.h div and std::initializer_list

This commit is contained in:
2020-10-21 18:54:41 +03:00
parent 6f3fdf4d49
commit 47be2d3d62
4 changed files with 48 additions and 22 deletions

View File

@@ -40,8 +40,10 @@ inline PIByteArray & operator >>(PIByteArray & ba, MM & v) {piCout << ">>"
int main() {
PIMathVectorT3d v3 = createVectorT3d(1,2,3);
PIMathVectorT3d v3({1,2,3});
PIMathVectord v(v3);
PIMathVectord v2({3,2,1});
piCout << v;
piCout << v2;
return 0;
}