reactphysics3d/testbed/nanogui/ext/eigen/doc/snippets/Cwise_times_equal.cpp

4 lines
55 B
C++

Array3d v(1,2,3), w(2,3,0);
v *= w;
cout << v << endl;