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

3 lines
58 B
C++

Array3d v(M_PI, M_PI/2, M_PI/3);
cout << v.cos() << endl;