|
|
@ -1,14 +1,12 @@ |
|
|
|
#ifndef CAMERA_CONTROLLER_H |
|
|
|
#ifndef CAMERA_CONTROLLER_H |
|
|
|
#define CAMERA_CONTROLLER_H |
|
|
|
#define CAMERA_CONTROLLER_H |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "inferno/script/nativescript.h" |
|
|
|
|
|
|
|
|
|
|
|
#define TRANSLATE_SPEED 2.5f |
|
|
|
#define TRANSLATE_SPEED 2.5f |
|
|
|
#define ROTATE_SPEED 90.0f |
|
|
|
#define ROTATE_SPEED 90.0f |
|
|
|
#define ZOOM_SENSITIVITY 2.5f |
|
|
|
#define ZOOM_SENSITIVITY 2.5f |
|
|
|
#define MOUSE_SENSITIVITY 0.25f |
|
|
|
#define MOUSE_SENSITIVITY 0.25f |
|
|
|
#define NEAR_PLANE 0.1f |
|
|
|
|
|
|
|
#define FAR_PLANE 100.0f |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "inferno/script/nativescript.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace Inferno { |
|
|
|
namespace Inferno { |
|
|
|
|
|
|
|
|
|
|
|