Voxellancer
0.3
A game about voxels in space
Main Page
Related Pages
Classes
Files
File List
All
Classes
Functions
Pages
view.h
1
#pragma once
2
3
#include "geometry/viewport.h"
4
5
6
class
CameraHead
;
7
class
Scene
;
8
9
class
View
{
10
public
:
11
View
(
const
Viewport
& viewport);
12
virtual
~
View
();
13
14
virtual
float
fovy()
const
= 0;
15
virtual
float
zNear()
const
= 0;
16
virtual
float
aspectRatio()
const
= 0;
17
18
virtual
void
setViewport(
const
Viewport
& viewport);
19
20
virtual
void
draw(
const
Scene
& scene,
const
CameraHead
& cameraHead) = 0;
21
22
23
protected
:
24
Viewport
m_viewport;
25
};
26
CameraHead
Definition:
camerahead.h:12
Viewport
Definition:
viewport.h:6
Scene
Definition:
scene.h:14
View
Definition:
view.h:9
src
display
view.h
Generated on Sun Mar 30 2014 13:32:30 for Voxellancer by
1.8.6