diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-17 18:01:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-17 18:03:10 +0300 |
commit | 4be752a93cf37700668c604296f37ea08248f13b (patch) | |
tree | 0f838c87eaa6bf289b76f232e6b1571a28a55cba /source/gameengine/Ketsji/KX_CameraIpoSGController.cpp | |
parent | 5513da65b24a3ce77b1709acea841475115f3a7a (diff) |
Cleanup: trailing space in source/gameengine/
Diffstat (limited to 'source/gameengine/Ketsji/KX_CameraIpoSGController.cpp')
-rw-r--r-- | source/gameengine/Ketsji/KX_CameraIpoSGController.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/gameengine/Ketsji/KX_CameraIpoSGController.cpp b/source/gameengine/Ketsji/KX_CameraIpoSGController.cpp index a1c726209e1..70f5386fbb7 100644 --- a/source/gameengine/Ketsji/KX_CameraIpoSGController.cpp +++ b/source/gameengine/Ketsji/KX_CameraIpoSGController.cpp @@ -49,11 +49,11 @@ bool KX_CameraIpoSGController::Update(double currentTime) for (i = m_interpolators.begin(); !(i == m_interpolators.end()); ++i) { (*i)->Execute(m_ipotime); } - + SG_Spatial* ob = (SG_Spatial*)m_pObject; KX_Camera* kxcamera = (KX_Camera*) ob->GetSGClientObject(); RAS_CameraData* camdata = kxcamera->GetCameraData(); - + if (m_modify_lens) camdata->m_lens = m_lens; @@ -62,7 +62,7 @@ bool KX_CameraIpoSGController::Update(double currentTime) if (m_modify_clipend) camdata->m_clipend = m_clipend; - + if (m_modify_lens || m_modify_clipstart || m_modify_clipend) kxcamera->InvalidateProjectionMatrix(); @@ -102,7 +102,7 @@ SG_Controller* KX_CameraIpoSGController::GetReplica(class SG_Node* destnode) MT_Scalar* blaptr = (MT_Scalar*) newaddrbase; copyipo->SetNewTarget((MT_Scalar*)blaptr); } - + return iporeplica; } @@ -113,13 +113,13 @@ KX_CameraIpoSGController::~KX_CameraIpoSGController() for (i = m_interpolators.begin(); !(i == m_interpolators.end()); ++i) { delete (*i); } - + } void KX_CameraIpoSGController::SetOption( int option, - int value) + int value) { /* Setting options */ |