projects
/
demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
backup
[demo]
/
src
/
camera.cc
diff --git
a/src/camera.cc
b/src/camera.cc
index
b3ad077
..
7de5501
100644
(file)
--- a/
src/camera.cc
+++ b/
src/camera.cc
@@
-3,16
+3,10
@@
#include <gmath/gmath.h>
#include "camera.h"
#include <gmath/gmath.h>
#include "camera.h"
-#include "state_manager.h"
Camera::Camera() {}
Camera::~Camera() {}
Camera::Camera() {}
Camera::~Camera() {}
-void Camera::use() const
-{
- state_manager.set_state("st_view_matrix", get_view_matrix());
-}
-
OrbitCamera::OrbitCamera()
{
phi = theta = distance = 0;
OrbitCamera::OrbitCamera()
{
phi = theta = distance = 0;
@@
-63,4
+57,4
@@
void OrbitCamera::set_position(float x, float y, float z)
position.x = x;
position.y = y;
position.z = z;
position.x = x;
position.y = y;
position.z = z;
-}
\ No newline at end of file
+}