My Project: MeshCollider Class Reference

My Project

Classes | Public Member Functions | List of all members
MeshCollider Class Reference

`#include <tree.h>`

## Classes

struct | Triangle
struct | Vertex

## Public Member Functions

| MeshCollider (const vector< Vertex > &verts, const vector< Triangle > &tris)
| ~MeshCollider ()
bool | collide (const Line &line, float radius, const Transform &tform, Collision *curr_coll)
bool | intersects (const MeshCollider &c, const Transform &t) const
| MeshCollider ()

## Constructor & Destructor Documentation

## § MeshCollider() [1/2]

MeshCollider::MeshCollider | ( | const vector< Vertex > & | verts,
|  | const vector< Triangle > & | tris
| ) |  |

## § ~MeshCollider()

MeshCollider::~MeshCollider | ( |  | ) |

## § MeshCollider() [2/2]

MeshCollider::MeshCollider | ( |  | ) |

inline

## Member Function Documentation

## § collide()

bool MeshCollider::collide | ( | const Line & | line,
|  | float | radius,
|  | const Transform & | tform,
|  | Collision * | curr_coll
| ) |  |

## § intersects()

bool MeshCollider::intersects | ( | const MeshCollider & | c,
|  | const Transform & | t
| ) |  | const

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

- openb3dlib.mod/openb3d/src/tree.h
- openb3dlib.mod/openb3d/src/tree.cpp