Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 116 vs 117 for /trunk/Source Code/Rendering/Camera/Camera.cpp

Diff revisions: vs.
  @@ -18,8 +18,8 @@
18 18 bSaved = true;
19 19 }
20 20
21 - void Camera::RestoreCamera()
22 - {
21 + void Camera::RestoreCamera() {
22 +
23 23 if(bSaved) {
24 24 vEye = tSaveVectors[0];
25 25 vCenter = tSaveVectors[1];
  @@ -47,8 +47,7 @@
47 47 }
48 48
49 49
50 - void Camera::Refresh()
51 - {
50 + void Camera::Refresh() {
52 51
53 52 switch(eType) {
54 53 case FREE_FLY:
  @@ -86,7 +85,7 @@
86 85 updateListeners();
87 86 }
88 87
89 - void Camera::PlayerMoveForward(F32 factor) {
88 + void Camera::MoveForward(F32 factor) {
90 89 vEye += vViewDir * factor;
91 90
92 91 Refresh();
  @@ -98,7 +97,7 @@
98 97 Refresh();
99 98 }
100 99
101 - void Camera::PlayerMoveStrafe(F32 factor) {
100 + void Camera::MoveStrafe(F32 factor) {
102 101 vEye += vLeftDir * factor;
103 102
104 103 Refresh();