mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 03:29:19 +02:00
reformat: remove redundant qualifiers
This commit is contained in:
@@ -16,10 +16,10 @@ namespace scene {
|
||||
// TODO: move the snapshot to history stack
|
||||
struct node_snapshot {
|
||||
|
||||
scene::basic_node *node;
|
||||
basic_node *node;
|
||||
std::string data;
|
||||
|
||||
node_snapshot( scene::basic_node *Node ) :
|
||||
node_snapshot( basic_node *Node ) :
|
||||
node( Node ) {
|
||||
if( Node != nullptr ) {
|
||||
Node->export_as_text( data ); } };
|
||||
@@ -33,18 +33,18 @@ class basic_editor {
|
||||
public:
|
||||
// methods
|
||||
void
|
||||
translate( scene::basic_node *Node, glm::dvec3 const &Location, bool const Snaptoground );
|
||||
translate( basic_node *Node, glm::dvec3 const &Location, bool const Snaptoground );
|
||||
void
|
||||
translate( scene::basic_node *Node, float const Offset );
|
||||
translate( basic_node *Node, float const Offset );
|
||||
void
|
||||
rotate( scene::basic_node *Node, glm::vec3 const &Angle, float const Quantization );
|
||||
rotate( basic_node *Node, glm::vec3 const &Angle, float const Quantization );
|
||||
|
||||
private:
|
||||
// methods
|
||||
void
|
||||
translate_node( scene::basic_node *Node, glm::dvec3 const &Location );
|
||||
translate_node( basic_node *Node, glm::dvec3 const &Location );
|
||||
void
|
||||
translate_node( scene::basic_node *Node, float const Offset );
|
||||
translate_node( basic_node *Node, float const Offset );
|
||||
void
|
||||
translate_instance( TAnimModel *Instance, glm::dvec3 const &Location );
|
||||
void
|
||||
@@ -54,7 +54,7 @@ private:
|
||||
void
|
||||
translate_memorycell( TMemCell *Memorycell, float const Offset );
|
||||
void
|
||||
rotate_node( scene::basic_node *Node, glm::vec3 const &Angle );
|
||||
rotate_node( basic_node *Node, glm::vec3 const &Angle );
|
||||
void
|
||||
rotate_instance( TAnimModel *Instance, glm::vec3 const &Angle );
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user