16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 12:49:18 +02:00

position and rotation adjustment value snap mode in scenery editor, position adjustment for memory cells in scenery editor

This commit is contained in:
tmj-fstate
2018-07-10 01:09:20 +02:00
parent e01f05f57c
commit 219e8badc5
8 changed files with 102 additions and 10 deletions

View File

@@ -129,6 +129,9 @@ public:
// removes provided model instance from the cell
void
erase( TAnimModel *Instance );
// removes provided memory cell from the cell
void
erase( TMemCell *Memorycell );
// find a vehicle located nearest to specified point, within specified radius. reurns: located vehicle and distance
std::tuple<TDynamicObject *, float>
find( glm::dvec3 const &Point, float const Radius, bool const Onlycontrolled, bool const Findbycoupler ) const;
@@ -361,6 +364,9 @@ public:
// removes specified instance of 3d model from the region
void
erase_instance( TAnimModel *Instance );
// removes specified memory cell from the region
void
erase_memorycell( TMemCell *Memorycell );
// find a vehicle located nearest to specified point, within specified radius. reurns: located vehicle and distance
std::tuple<TDynamicObject *, float>
find_vehicle( glm::dvec3 const &Point, float const Radius, bool const Onlycontrolled, bool const Findbycoupler );