RigsofRods
Soft-body Physics Simulation
DynamicCollisions.h
Go to the documentation of this file.
1 /*
2  This source file is part of Rigs of Rods
3  Copyright 2005-2012 Pierre-Michel Ricordel
4  Copyright 2007-2012 Thomas Fischer
5  Copyright 2016 Fabian Killus
6 
7  For more information, see http://www.rigsofrods.org/
8 
9  Rigs of Rods is free software: you can redistribute it and/or modify
10  it under the terms of the GNU General Public License version 3, as
11  published by the Free Software Foundation.
12 
13  Rigs of Rods is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with Rigs of Rods. If not, see <http://www.gnu.org/licenses/>.
20 */
21 
22 #pragma once
23 
24 #include "ForwardDeclarations.h"
25 #include "SimData.h"
26 
27 namespace RoR {
28 
31 
34 
35 void ResolveInterActorCollisions(const float dt, PointColDetector &interPointCD,
36  const int free_collcab, int collcabs[], int cabs[],
37  collcab_rate_t inter_collcabrate[], node_t nodes[],
38  const float collrange,
39  ground_model_t &submesh_ground_model);
40 
41 void ResolveIntraActorCollisions(const float dt, PointColDetector &intraPointCD,
42  const int free_collcab, int collcabs[], int cabs[],
43  collcab_rate_t intra_collcabrate[], node_t nodes[],
44  const float collrange,
45  ground_model_t &submesh_ground_model);
46 
49 
50 } // namespace RoRs
ForwardDeclarations.h
Global forward declarations.
RoR::ResolveIntraActorCollisions
void ResolveIntraActorCollisions(const float dt, PointColDetector &intraPointCD, const int free_collcab, int collcabs[], int cabs[], collcab_rate_t intra_collcabrate[], node_t nodes[], const float collrange, ground_model_t &submesh_ground_model)
Definition: DynamicCollisions.cpp:210
SimData.h
Core data structures for simulation; Everything affected by by either physics, network or user intera...
RoR::ResolveInterActorCollisions
void ResolveInterActorCollisions(const float dt, PointColDetector &interPointCD, const int free_collcab, int collcabs[], int cabs[], collcab_rate_t inter_collcabrate[], node_t nodes[], const float collrange, ground_model_t &submesh_ground_model)
Definition: DynamicCollisions.cpp:118
nodes
or anywhere else will not be considered a but parsed as regular data ! Each line is treated as values separated by separators Possible i e animators Multiline description Single does not affect it Directive usualy set global attributes or change behavior of the parsing Directive may appear in any block section Modularity The elements can be grouped into modules Each module must belong to one or more configurations Directives sectionconfig specify truck configurations the user can choose from Exactly one must be selected If the first defined is used lettercase matches original docs(parsing is insensitive). NAME TYPE NOTES advdrag BLOCK add_animation DIRECTIVE Special syntax airbrakes BLOCK animators BLOCK Special syntax IF(values[0]=="") bad trailing chars are silently ignored no space at the end Items delimited On each side of there is max item Empty invalid string parses as node num items Acceptable item the node is the others When a node range has more than nodes
Definition: ReadMe.txt:302
RoR
Definition: AppContext.h:36