Skip to content

Commit 873cd82

Browse files
author
diixo
committed
fixed radius
1 parent 88528be commit 873cd82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ void keyboard(unsigned char a, int x, int y)
202202

203203
case 'u': // up-view
204204
case 'U':
205-
position = CView(90.f, position.mYaw, Radius, position.lookAt());
205+
position = CView(90.f, position.mYaw, position.mRadius, position.lookAt());
206206
break;
207207

208208
case 'r':

View.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
#include "Matrix.hpp"
1212

13-
// Orbital position
13+
// Orbital view
1414
struct CView
1515
{
1616
CView(const float pitch, const float yaw, const float radius, const Vec3& lookAt);

0 commit comments

Comments
 (0)