Skip to content
Permalink
Browse files

TITANIC: Cleanup of camera class

  • Loading branch information
dreammaster committed Jan 13, 2020
1 parent f029943 commit 2480630e08109512fee74efb63b0421c658c6a4b
Showing with 4 additions and 4 deletions.
  1. +2 −2 engines/titanic/star_control/camera.cpp
  2. +2 −2 engines/titanic/star_control/camera.h
@@ -240,11 +240,11 @@ FVector CCamera::getRelativePosNoCentering(int index, const FVector &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);
}

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

@@ -161,8 +161,8 @@ class CCamera {
virtual FVector getRelativePos(int index, const FVector &src);

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

/**
* Sets the viewport position within the starfield

0 comments on commit 2480630

Please sign in to comment.
You can’t perform that action at this time.