![]() | |
![]() | ![]() |
Entire Class Index | Main Class Index | Cross Index | Global Index |
This is camera class.
Contained in: global
Derived from:
none
Derived by:
none
Group: GL (OpenGL)
#include <ClanLib/gl.h>
public function member index: |
||
Construction: |
||
CL_Camera | (); | |
CL_Camera | (float nearZ, float farZ, float fov); | |
Operations: |
||
void | set_viewport | (const CL_Viewpoint& viewpoint, float distance) const; |
pos - The position that the camera stands in.
dir - The direction that the camera looks in.
up - The up direction of the camera.
nearZ - Near clipping plane.
farZ - Far clipping plane.
fov - Field of view.