#include <obstacle.h>
Inherits Collidable.
Inherited by _classes_ [private].
Inheritance diagram for Obstacle:


Public Methods | |
| Obstacle (std::string filename, const Matrix &mat) | |
| The constructor for Obstacle that takes in a filename, and calls Obstacle 's constructor with it, but also sets its Bounding Box Vector s. More... | |
| const Vector & | GetMinVector () const |
| This is the lowest local Vector in the Model . More... | |
| const Vector & | GetMaxVector () const |
| This is the highest local Vector in the Model . More... | |
Private Methods | |
| void | recalculatebb () |
Private Attributes | |
| Vector | lastminbb |
| Vector | lastmaxbb |
| bool | bbchanged |
|
||||||||||||
|
The constructor for Obstacle that takes in a filename, and calls Obstacle 's constructor with it, but also sets its Bounding Box Vector s.
00011 : Collidable (filename, mat) {recalculatebb();} |
|
|
This is the highest local Vector in the Model .
00015 {return lastmaxbb;}
|
|
|
This is the lowest local Vector in the Model .
00013 {return lastminbb;}
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.15