Subversion Repositories gelsvn

Rev

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

Rev 23 Rev 38
Line 8... Line 8...
8
using namespace std;
8
using namespace std;
9
using namespace CGLA;
9
using namespace CGLA;
10
 
10
 
11
namespace Graphics
11
namespace Graphics
12
{
12
{
13
 
13
    
14
	void GLViewController::reset_projection()
14
	void GLViewController::reset_projection()
15
	{
15
	{
16
		glMatrixMode(GL_PROJECTION);
16
		glMatrixMode(GL_PROJECTION);
17
		glLoadIdentity();
17
		glLoadIdentity();
18
		gluPerspective(FOV_DEG, aspect, znear, zfar);
18
		gluPerspective(FOV_DEG, aspect, znear, zfar);