Use reference to constant in functions
This commit is contained in:
parent
3bfffcc568
commit
01cc7a996b
42 changed files with 82 additions and 82 deletions
|
|
@ -345,7 +345,7 @@ void GridMapEditor::_validate_selection() {
|
|||
_update_selection_transform();
|
||||
}
|
||||
|
||||
void GridMapEditor::_set_selection(bool p_active, const Vector3 p_begin, const Vector3 p_end) {
|
||||
void GridMapEditor::_set_selection(bool p_active, const Vector3 &p_begin, const Vector3 &p_end) {
|
||||
|
||||
selection.active = p_active;
|
||||
selection.begin = p_begin;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue