Skip to content

Commit

Permalink
TITANIC: Cleanup of camera class
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Jan 14, 2020
1 parent f029943 commit 2480630
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions engines/titanic/star_control/camera.cpp
Expand Up @@ -240,11 +240,11 @@ FVector CCamera::getRelativePosNoCentering(int index, const FVector &src) {
return _viewport.getRelativePosNoCentering(index, src); return _viewport.getRelativePosNoCentering(index, src);
} }


FVector CCamera::proc30(int index, const FVector &v) { FVector CCamera::getRelativePosCentering(int index, const FVector &v) {
return _viewport.getRelativePosCentering(index, v); return _viewport.getRelativePosCentering(index, v);
} }


FVector CCamera::proc31(int index, const FVector &v) { FVector CCamera::getRelativePosCenteringRaw(int index, const FVector &v) {
return _viewport.getRelativePosCenteringRaw(index, v); return _viewport.getRelativePosCenteringRaw(index, v);
} }


Expand Down
4 changes: 2 additions & 2 deletions engines/titanic/star_control/camera.h
Expand Up @@ -161,8 +161,8 @@ class CCamera {
virtual FVector getRelativePos(int index, const FVector &src); virtual FVector getRelativePos(int index, const FVector &src);


virtual FVector getRelativePosNoCentering(int index, const FVector &src); virtual FVector getRelativePosNoCentering(int index, const FVector &src);
virtual FVector proc30(int index, const FVector &v); virtual FVector getRelativePosCentering(int index, const FVector &v);
virtual FVector proc31(int index, const FVector &v); virtual FVector getRelativePosCenteringRaw(int index, const FVector &v);


/** /**
* Sets the viewport position within the starfield * Sets the viewport position within the starfield
Expand Down

0 comments on commit 2480630

Please sign in to comment.