|
Blender V4.3
|
RayFromToCaster takes a ray from, ray to (instead of direction!) More...
#include <btSoftBody.h>
Inherits btDbvt::ICollide.
Public Member Functions | |
| RayFromToCaster (const btVector3 &rayFrom, const btVector3 &rayTo, btScalar mxt) | |
| void | Process (const btDbvtNode *leaf) |
Public Member Functions inherited from btDbvt::ICollide | |
| DBVT_VIRTUAL void | Process (const btDbvtNode *, const btDbvtNode *) |
| DBVT_VIRTUAL void | Process (const btDbvtNode *) |
| DBVT_VIRTUAL void | Process (const btDbvtNode *n, btScalar) |
| DBVT_VIRTUAL void | Process (const btDbvntNode *, const btDbvntNode *) |
| DBVT_VIRTUAL bool | Descent (const btDbvtNode *) |
| DBVT_VIRTUAL bool | AllLeaves (const btDbvtNode *) |
Static Public Member Functions | |
| static btScalar | rayFromToTriangle (const btVector3 &rayFrom, const btVector3 &rayTo, const btVector3 &rayNormalizedDirection, const btVector3 &a, const btVector3 &b, const btVector3 &c, btScalar maxt=SIMD_INFINITY) |
Public Attributes | |
| btVector3 | m_rayFrom |
| btVector3 | m_rayTo |
| btVector3 | m_rayNormalizedDirection |
| btScalar | m_mint |
| Face * | m_face |
| int | m_tests |
RayFromToCaster takes a ray from, ray to (instead of direction!)
Definition at line 749 of file btSoftBody.h.
| btSoftBody::RayFromToCaster::RayFromToCaster | ( | const btVector3 & | rayFrom, |
| const btVector3 & | rayTo, | ||
| btScalar | mxt ) |
Definition at line 2336 of file btSoftBody.cpp.
References m_face, m_mint, m_rayFrom, m_rayNormalizedDirection, m_rayTo, and m_tests.
| void btSoftBody::RayFromToCaster::Process | ( | const btDbvtNode * | leaf | ) |
Definition at line 2347 of file btSoftBody.cpp.
References btDbvtNode::data, btSoftBody::Face::m_n, and btSoftBody::Node::m_x.
|
static |
Definition at line 2364 of file btSoftBody.cpp.
References b, btCross(), btDot(), btFuzzyZero(), and SIMD_EPSILON.
Referenced by btSoftBody::rayTest().
| Face* btSoftBody::RayFromToCaster::m_face |
Definition at line 755 of file btSoftBody.h.
Referenced by btSoftBody::rayFaceTest(), RayFromToCaster(), and btSoftBody::rayTest().
| btScalar btSoftBody::RayFromToCaster::m_mint |
Definition at line 754 of file btSoftBody.h.
Referenced by btSoftBody::rayFaceTest(), RayFromToCaster(), and btSoftBody::rayTest().
| btVector3 btSoftBody::RayFromToCaster::m_rayFrom |
Definition at line 751 of file btSoftBody.h.
Referenced by RayFromToCaster().
| btVector3 btSoftBody::RayFromToCaster::m_rayNormalizedDirection |
Definition at line 753 of file btSoftBody.h.
Referenced by RayFromToCaster().
| btVector3 btSoftBody::RayFromToCaster::m_rayTo |
Definition at line 752 of file btSoftBody.h.
Referenced by RayFromToCaster().
| int btSoftBody::RayFromToCaster::m_tests |
Definition at line 756 of file btSoftBody.h.
Referenced by RayFromToCaster().