$search
The indices of in-collision primitives of objects. More...
#include <collision_primitive.h>
Public Attributes | |
BVH_REAL | collide_time |
Collision time normalized in [0, 1]. The collision time out of [0, 1] means collision-free. | |
Vec3f | contact_point |
Contact points. | |
int | id1 |
The index of one in-collision primitive. | |
int | id2 |
The index of the other in-collision primitive. | |
Vec3f | normal |
Contact normal. | |
BVH_REAL | penetration_depth |
Penetration depth for two triangles. |
The indices of in-collision primitives of objects.
Definition at line 51 of file collision_primitive.h.
Collision time normalized in [0, 1]. The collision time out of [0, 1] means collision-free.
Definition at line 60 of file collision_primitive.h.
Contact points.
Definition at line 66 of file collision_primitive.h.
The index of one in-collision primitive.
Definition at line 54 of file collision_primitive.h.
The index of the other in-collision primitive.
Definition at line 57 of file collision_primitive.h.
Contact normal.
Definition at line 63 of file collision_primitive.h.
Penetration depth for two triangles.
Definition at line 69 of file collision_primitive.h.