Subversion Repositories gelsvn

Rev

Rev 147 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 147 Rev 152
Line 3... Line 3...
3
#include "SimpleTrackBall.h"
3
#include "SimpleTrackBall.h"
4
 
4
 
5
using namespace std;
5
using namespace std;
6
using namespace CGLA;
6
using namespace CGLA;
7
 
7
 
8
namespace Graphics
8
namespace GLGraphics
9
{
9
{
10
 
10
 
11
		void SimpleTrackBall::roll_x(float dx)
11
		void SimpleTrackBall::roll_x(float dx)
12
		{
12
		{
13
				float mouse_sign = ((dx<0)?-1.0f:1.0f);
13
				float mouse_sign = ((dx<0)?-1.0f:1.0f);