mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 02:29:17 +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:
@@ -17,6 +17,8 @@ class basic_editor {
|
||||
|
||||
public:
|
||||
// methods
|
||||
bool
|
||||
on_key( int const Key, int const Action );
|
||||
bool
|
||||
on_mouse_button( int const Button, int const Action );
|
||||
bool
|
||||
@@ -43,6 +45,8 @@ private:
|
||||
mode_translation() const;
|
||||
bool
|
||||
mode_translation_vertical() const;
|
||||
bool
|
||||
mode_snap() const;
|
||||
void
|
||||
translate( glm::dvec3 const &Location );
|
||||
void
|
||||
@@ -51,6 +55,10 @@ private:
|
||||
translate_instance( TAnimModel *Instance, glm::dvec3 const &Location );
|
||||
void
|
||||
translate_instance( TAnimModel *Instance, float const Offset );
|
||||
void
|
||||
translate_memorycell( TMemCell *Memorycell, glm::dvec3 const &Location );
|
||||
void
|
||||
translate_memorycell( TMemCell *Memorycell, float const Offset );
|
||||
void
|
||||
rotate( glm::vec3 const &Angle );
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user