mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Merge pull request #1356 from Areloch/PVS_Cleanup_813
Convert un-modified function arguments to const references.
This commit is contained in:
commit
4f2f1ca4e1
40 changed files with 59 additions and 59 deletions
|
|
@ -1091,7 +1091,7 @@ F32 GuiMeshRoadEditorCtrl::getNodeDepth()
|
|||
return 0.0f;
|
||||
}
|
||||
|
||||
void GuiMeshRoadEditorCtrl::setNodePosition( Point3F pos )
|
||||
void GuiMeshRoadEditorCtrl::setNodePosition(const Point3F& pos)
|
||||
{
|
||||
if ( mSelRoad && mSelNode != -1 )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ class GuiMeshRoadEditorCtrl : public EditTSCtrl
|
|||
void setNodeDepth( F32 depth );
|
||||
|
||||
Point3F getNodePosition();
|
||||
void setNodePosition( Point3F pos );
|
||||
void setNodePosition(const Point3F& pos);
|
||||
|
||||
VectorF getNodeNormal();
|
||||
void setNodeNormal( const VectorF &normal );
|
||||
|
|
|
|||
|
|
@ -1235,7 +1235,7 @@ F32 GuiRiverEditorCtrl::getNodeDepth()
|
|||
return 0.0f;
|
||||
}
|
||||
|
||||
void GuiRiverEditorCtrl::setNodePosition( Point3F pos )
|
||||
void GuiRiverEditorCtrl::setNodePosition(const Point3F& pos)
|
||||
{
|
||||
if ( mSelRiver && mSelNode != -1 )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ class GuiRiverEditorCtrl : public EditTSCtrl
|
|||
void setNodeDepth( F32 depth );
|
||||
|
||||
Point3F getNodePosition();
|
||||
void setNodePosition( Point3F pos );
|
||||
void setNodePosition(const Point3F& pos);
|
||||
|
||||
VectorF getNodeNormal();
|
||||
void setNodeNormal( const VectorF &normal );
|
||||
|
|
|
|||
|
|
@ -979,7 +979,7 @@ F32 GuiRoadEditorCtrl::getNodeWidth()
|
|||
return 0.0f;
|
||||
}
|
||||
|
||||
void GuiRoadEditorCtrl::setNodePosition( Point3F pos )
|
||||
void GuiRoadEditorCtrl::setNodePosition(const Point3F& pos)
|
||||
{
|
||||
if ( mSelRoad && mSelNode != -1 )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ class GuiRoadEditorCtrl : public EditTSCtrl
|
|||
void setNodeWidth( F32 width );
|
||||
|
||||
Point3F getNodePosition();
|
||||
void setNodePosition( Point3F pos );
|
||||
void setNodePosition(const Point3F& pos);
|
||||
|
||||
void setTextureFile( StringTableEntry file );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue