5 #ifndef COLLISION_BOX_H 6 #define COLLISION_BOX_H 19 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
32 const T& width,
const T& height,
const Vec3<T>& position,
51 #endif // COLLISION_BOX_H
EIGEN_MAKE_ALIGNED_OPERATOR_NEW CollisionBox(const T &mu, const T &restitution, const T &depth, const T &width, const T &height, const Vec3< T > &position, const Mat3< T > &ori)
typename Eigen::Matrix< T, 3, 3 > Mat3
typename Eigen::Matrix< T, 3, 1 > Vec3
virtual bool ContactDetection(const Vec3< T > &cp_pos, T &penetration, Mat3< T > &cp_frame)
Virtual class of Collision logic.