Jamie Slowgrove - PGG Assignment 2
 All Classes Namespaces Files Functions Variables Typedefs Macros
Classes | Macros
Player.h File Reference
#include <SDL.h>
#include <iostream>
#include <glm.hpp>
#include <gtc/type_ptr.hpp>
#include <gtc/matrix_transform.hpp>
#include <memory>
#include "glew.h"
#include "Utilities.h"
#include "Entity.h"
Include dependency graph for Player.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Player
 Creates a Player object that inherits Entity. More...
 

Macros

#define MAX_ROTATE_ANGLE   300
 
#define ROTATE_AMOUNT   (360 - MAX_ROTATE_ANGLE) * 0.1f
 

Macro Definition Documentation

#define MAX_ROTATE_ANGLE   300

A definition of the max angle the player can rotate to

#define ROTATE_AMOUNT   (360 - MAX_ROTATE_ANGLE) * 0.1f

A definition of the amount which must be multiplied by the rotate speed, direction and dt for the rotation