Simulate thousands of n-Pendula (up to 32) with Position Based Dynamics
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
145 B

1 year ago
#include <iostream>
#include <Eigen/Core>
int main() {
Eigen::Vector2d V(1, 2);
std::cout << V.x() << " " << V.y() << std::endl;
return 0;
}