#include <World.h>
Collaboration diagram for Vamos_World::World:

Public Member Functions | |
| void | reset () |
| void | reset (bool all) |
| void | reset (Car_Information *cartoreset) |
| void | restart () |
| Car_Information * | focused_car () |
| World (TRACK *track) | |
| ~World () | |
| void | interact (Vamos_Body::Car *car, size_t segment_index) |
| void | collide (Vamos_Body::Car *car1, Vamos_Body::Car *car2) |
| void | gravity (double g) |
| void | add_car (Vamos_Body::Car *car) |
| void | set_focused_car (size_t car_index) |
| void | focus_other_car (int delta) |
Public Attributes | |
| std::vector< Car_Information > | m_cars |
| TRACK * | p_track |
| double | m_gravity |
| std::vector< Contact_Info > | m_contact_info |
Private Attributes | |
| size_t | m_focused_car_index |
Definition at line 124 of file World.h.
|
|
|
|
|
Definition at line 147 of file World.cc. References m_cars, and verbose_output. |
|
|
Definition at line 920 of file World.cc. References Vamos_Body::Car::chassis(), m_cars, and m_gravity. Referenced by VAMOSWORLD::add_car(). |
|
||||||||||||
|
Definition at line 635 of file World.cc. References Vamos_Body::Car::chassis(), and Vamos_Body::Car::collision(). |
|
|
Definition at line 934 of file World.cc. References m_cars, m_focused_car_index, and set_focused_car(). |
|
|
Definition at line 940 of file World.cc. References m_cars, and m_focused_car_index. |
|
|
Definition at line 909 of file World.cc. References Vamos_World::Car_Information::car, Vamos_Body::Car::chassis(), focused_car(), and m_gravity. |
|
||||||||||||
|
Definition at line 167 of file World.cc. References Vamos_Geometry::Material::ASPHALT, Vamos_Body::Car::chassis(), Vamos_Geometry::Material::CONCRETE, Vamos_Body::Car::GetCollisionModel(), JOEMODEL::GetFace(), JOEMODEL::GetFaces(), JOEMODEL::GetVert(), NULL, QUATERNION::RotateVec(), VERTEX::ScaleR(), VERTEX::Set(), QUATERNION::SetAxisAngle(), and VERTEX::z. Referenced by VAMOSWORLD::PhysUpdate(). |
|
|
Definition at line 780 of file World.cc. References QUATERNION::GetMat(), TRACK::GetStart(), TRACK::GetStartOrientation(), p_track, QUATERNION::Rotate(), QUATERNION::x, VERTEX::x, QUATERNION::y, VERTEX::y, QUATERNION::z, and VERTEX::z. |
|
|
|
|
|
Definition at line 651 of file World.cc. Referenced by VAMOSWORLD::DoOp(), VAMOSWORLD::reset(), and reset(). |
|
|
Definition at line 901 of file World.cc. References focused_car(), and Vamos_World::Car_Information::reset(). |
|
|
Definition at line 927 of file World.cc. References m_cars, and m_focused_car_index. Referenced by focus_other_car(). |
|
|
Definition at line 130 of file World.h. Referenced by add_car(), VAMOSWORLD::clear_cars(), VAMOSWORLD::draw_cars(), VAMOSWORLD::draw_shadows(), focus_other_car(), focused_car(), VAMOSWORLD::GetCar(), VAMOSWORLD::PhysUpdate(), reset(), set_focused_car(), VAMOSWORLD::Update(), and ~World(). |
|
|
|
|
|
Definition at line 126 of file World.h. Referenced by focus_other_car(), focused_car(), and set_focused_car(). |
|
|
|
|
|
Definition at line 132 of file World.h. Referenced by reset(). |
1.4.6