#include <Skidmark.h>
|
void | PopSegment () |
|
void | LimitObjects () |
|
void | AddObject (Ogre::Vector3 start, Ogre::String texture) |
|
void | SetPointInt (unsigned short index, const Ogre::Vector3 &value, Ogre::Real fsize, Ogre::String texture) |
|
void | AddPoint (const Ogre::Vector3 &value, Ogre::Real fsize, Ogre::String texture) |
|
void | UpdatePoint (Ogre::Vector3 contact_point, int index, float slip, Ogre::String ground_model_name) |
|
|
static int | m_instance_counter = 0 |
|
static Ogre::Vector2 | m_tex_coords [4] = {Ogre::Vector2(0, 0), Ogre::Vector2(0, 1), Ogre::Vector2(1, 0), Ogre::Vector2(1, 1)} |
|
Definition at line 58 of file Skidmark.h.
◆ Skidmark()
RoR::Skidmark::Skidmark |
( |
RoR::SkidmarkConfig * |
config, |
|
|
wheel_t * |
m_wheel, |
|
|
Ogre::SceneNode * |
snode, |
|
|
int |
m_length = 500 , |
|
|
int |
m_bucket_count = 20 |
|
) |
| |
Constructor - see setOperationType() for description of argument.
Definition at line 112 of file Skidmark.cpp.
◆ ~Skidmark()
RoR::Skidmark::~Skidmark |
( |
| ) |
|
|
virtual |
◆ AddObject()
void RoR::Skidmark::AddObject |
( |
Ogre::Vector3 |
start, |
|
|
Ogre::String |
texture |
|
) |
| |
|
private |
◆ AddPoint()
void RoR::Skidmark::AddPoint |
( |
const Ogre::Vector3 & |
value, |
|
|
Ogre::Real |
fsize, |
|
|
Ogre::String |
texture |
|
) |
| |
|
private |
◆ LimitObjects()
void RoR::Skidmark::LimitObjects |
( |
| ) |
|
|
private |
◆ PopSegment()
void RoR::Skidmark::PopSegment |
( |
| ) |
|
|
private |
◆ reset()
void RoR::Skidmark::reset |
( |
| ) |
|
◆ SetPointInt()
void RoR::Skidmark::SetPointInt |
( |
unsigned short |
index, |
|
|
const Ogre::Vector3 & |
value, |
|
|
Ogre::Real |
fsize, |
|
|
Ogre::String |
texture |
|
) |
| |
|
private |
◆ update()
void RoR::Skidmark::update |
( |
Ogre::Vector3 |
contact_point, |
|
|
int |
index, |
|
|
float |
slip, |
|
|
Ogre::String |
ground_model_name |
|
) |
| |
◆ UpdatePoint()
void RoR::Skidmark::UpdatePoint |
( |
Ogre::Vector3 |
contact_point, |
|
|
int |
index, |
|
|
float |
slip, |
|
|
Ogre::String |
ground_model_name |
|
) |
| |
|
private |
◆ m_bucket_count
int RoR::Skidmark::m_bucket_count |
|
private |
◆ m_config
◆ m_instance_counter
int RoR::Skidmark::m_instance_counter = 0 |
|
staticprivate |
◆ m_is_dirty
bool RoR::Skidmark::m_is_dirty |
|
private |
◆ m_length
int RoR::Skidmark::m_length |
|
private |
◆ m_max_distance
float RoR::Skidmark::m_max_distance |
|
private |
◆ m_min_distance
float RoR::Skidmark::m_min_distance |
|
private |
◆ m_objects
◆ m_scene_node
Ogre::SceneNode* RoR::Skidmark::m_scene_node |
|
private |
◆ m_tex_coords
Ogre::Vector2 RoR::Skidmark::m_tex_coords = {Ogre::Vector2(0, 0), Ogre::Vector2(0, 1), Ogre::Vector2(1, 0), Ogre::Vector2(1, 1)} |
|
staticprivate |
◆ m_wheel
The documentation for this class was generated from the following files: