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
|
|
@ -1104,8 +1104,8 @@ protected:
|
|||
virtual void shakeCamera( U32 imageSlot );
|
||||
virtual void updateDamageLevel();
|
||||
virtual void updateDamageState();
|
||||
virtual void onImpact(SceneObject* obj, VectorF vec);
|
||||
virtual void onImpact(VectorF vec);
|
||||
virtual void onImpact(SceneObject* obj, const VectorF& vec);
|
||||
virtual void onImpact(const VectorF& vec);
|
||||
/// @}
|
||||
|
||||
/// The inner prep render function that does the
|
||||
|
|
@ -1588,7 +1588,7 @@ public:
|
|||
virtual void getEyeCameraTransform( IDisplayDevice *display, U32 eyeId, MatrixF *outMat );
|
||||
|
||||
/// Calculates a delta camera angle and view position based on inPose
|
||||
virtual DisplayPose calcCameraDeltaPose(GameConnection *con, DisplayPose inPose);
|
||||
virtual DisplayPose calcCameraDeltaPose(GameConnection *con, const DisplayPose& inPose);
|
||||
|
||||
/// Gets the index of a node inside a mounted image given the name
|
||||
/// @param imageSlot Image slot
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue