Bullet Collision Detection & Physics Library
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
btSoftBody::RayFromToCaster Struct Reference

RayFromToCaster takes a ray from, ray to (instead of direction!) More...

#include <btSoftBody.h>

Inheritance diagram for btSoftBody::RayFromToCaster:
Inheritance graph
Collaboration diagram for btSoftBody::RayFromToCaster:
Collaboration graph

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 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
int m_tests

Detailed Description

RayFromToCaster takes a ray from, ray to (instead of direction!)

Definition at line 609 of file btSoftBody.h.

Constructor & Destructor Documentation

btSoftBody::RayFromToCaster::RayFromToCaster ( const btVector3 rayFrom,
const btVector3 rayTo,
btScalar  mxt 

Definition at line 1997 of file btSoftBody.cpp.

Member Function Documentation

void btSoftBody::RayFromToCaster::Process ( const btDbvtNode leaf)

Definition at line 2008 of file btSoftBody.cpp.

btScalar btSoftBody::RayFromToCaster::rayFromToTriangle ( const btVector3 rayFrom,
const btVector3 rayTo,
const btVector3 rayNormalizedDirection,
const btVector3 a,
const btVector3 b,
const btVector3 c,
btScalar  maxt = SIMD_INFINITY 

Definition at line 2024 of file btSoftBody.cpp.

Member Data Documentation

Face* btSoftBody::RayFromToCaster::m_face

Definition at line 615 of file btSoftBody.h.

btScalar btSoftBody::RayFromToCaster::m_mint

Definition at line 614 of file btSoftBody.h.

btVector3 btSoftBody::RayFromToCaster::m_rayFrom

Definition at line 611 of file btSoftBody.h.

btVector3 btSoftBody::RayFromToCaster::m_rayNormalizedDirection

Definition at line 613 of file btSoftBody.h.

btVector3 btSoftBody::RayFromToCaster::m_rayTo

Definition at line 612 of file btSoftBody.h.

int btSoftBody::RayFromToCaster::m_tests

Definition at line 616 of file btSoftBody.h.

The documentation for this struct was generated from the following files: