RigsofRods
Soft-body Physics Simulation
Data Fields
RoR::collision_mesh_t Struct Reference

Records which collision triangles belong to which mesh. More...

#include <Collisions.h>

+ Collaboration diagram for RoR::collision_mesh_t:

Data Fields

std::string mesh_name
 
std::string source_name
 
Ogre::Vector3 position = Ogre::Vector3::ZERO
 
Ogre::Quaternion orientation = Ogre::Quaternion::IDENTITY
 
Ogre::Vector3 scale = Ogre::Vector3::ZERO
 
Ogre::AxisAlignedBox bounding_box
 
ground_model_tground_model = nullptr
 
int collision_tri_start = -1
 
int collision_tri_count = 0
 
int num_verts = 0
 
int num_indices = 0
 

Detailed Description

Records which collision triangles belong to which mesh.

Definition at line 64 of file Collisions.h.

Field Documentation

◆ bounding_box

Ogre::AxisAlignedBox RoR::collision_mesh_t::bounding_box

Definition at line 71 of file Collisions.h.

◆ collision_tri_count

int RoR::collision_mesh_t::collision_tri_count = 0

Definition at line 74 of file Collisions.h.

◆ collision_tri_start

int RoR::collision_mesh_t::collision_tri_start = -1

Definition at line 73 of file Collisions.h.

◆ ground_model

ground_model_t* RoR::collision_mesh_t::ground_model = nullptr

Definition at line 72 of file Collisions.h.

◆ mesh_name

std::string RoR::collision_mesh_t::mesh_name

Definition at line 66 of file Collisions.h.

◆ num_indices

int RoR::collision_mesh_t::num_indices = 0

Definition at line 76 of file Collisions.h.

◆ num_verts

int RoR::collision_mesh_t::num_verts = 0

Definition at line 75 of file Collisions.h.

◆ orientation

Ogre::Quaternion RoR::collision_mesh_t::orientation = Ogre::Quaternion::IDENTITY

Definition at line 69 of file Collisions.h.

◆ position

Ogre::Vector3 RoR::collision_mesh_t::position = Ogre::Vector3::ZERO

Definition at line 68 of file Collisions.h.

◆ scale

Ogre::Vector3 RoR::collision_mesh_t::scale = Ogre::Vector3::ZERO

Definition at line 70 of file Collisions.h.

◆ source_name

std::string RoR::collision_mesh_t::source_name

Definition at line 67 of file Collisions.h.


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