View.hpp
Go to the documentation of this file.
41 };
56 };
76 virtual void drawDebug(ememory::SharedPtr<ewol::resource::Colored3DObject> _draw, ememory::SharedPtr<ege::Camera> _camera);
View(const vec3 &_eye=vec3(0, 0, 0), const vec3 &_target=vec3(0, 0, 1), float _angle=0.0f)
Constructor.
Definition: View.hpp:12
virtual vec3 getEye() const
get the curent Camera Eye position.
Definition: View.hpp:39
virtual void setTarget(const vec3 &_target)
set a new Camera target position.
Definition: AudioElement.hpp:8
virtual void drawDebug(ememory::SharedPtr< ewol::resource::Colored3DObject > _draw, ememory::SharedPtr< ege::Camera > _camera)
Debug display of the current element.
Definition: Camera.hpp:18
Definition: Ray.hpp:17
float m_angle
rotation angle of the camera (in rad) through the axis origin->eye
Definition: View.hpp:56
virtual ege::Ray getRayFromScreen(const vec2 &_offset)
const vec3 & getTarget() const
Get the curent Camera target position.
Definition: View.hpp:54