5 #ifndef COLLISION_MESH_H 6 #define COLLISION_MESH_H 19 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
55 #endif // COLLISION_MESH_H virtual bool ContactDetection(const Vec3< T > &cp_pos, T &penetration, Mat3< T > &cp_frame)
typename Eigen::Matrix< T, 3, 3 > Mat3
typename Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > DMat
typename Eigen::Matrix< T, 3, 1 > Vec3
Virtual class of Collision logic.
Vec3< T > _left_corner_loc
EIGEN_MAKE_ALIGNED_OPERATOR_NEW CollisionMesh(const T &mu, const T &restitution, const T &grid, const Vec3< T > &left_corner_loc, const DMat< T > &height_map)