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

3 lines
55 B
C++

Array3d v(0, sqrt(2.)/2, 1);
cout << v.asin() << endl;