Voxellancer
0.3
A game about voxels in space
Main Page
Related Pages
Classes
Files
File List
All
Classes
Functions
Pages
monoview.h
1
#pragma once
2
3
#include <string>
4
#include <memory>
5
6
#include "view.h"
7
#include "property/property.h"
8
9
10
class
Scene
;
11
class
Camera
;
12
class
CameraHead
;
13
14
class
MonoView
:
public
View
{
15
public
:
16
MonoView
(
const
Viewport
& viewport);
17
18
virtual
void
setViewport(
const
Viewport
& viewport)
override
;
19
20
virtual
float
fovy()
const override
;
21
virtual
float
zNear()
const override
;
22
virtual
float
aspectRatio()
const override
;
23
24
virtual
void
draw(
const
Scene
& scene,
const
CameraHead
& cameraHead)
override
;
25
26
27
protected
:
28
std::unique_ptr<Camera> m_camera;
29
Property<std::string>
m_antialiasing;
30
};
31
CameraHead
Definition:
camerahead.h:12
Viewport
Definition:
viewport.h:6
Camera
Definition:
camera.h:10
MonoView
Definition:
monoview.h:14
Scene
Definition:
scene.h:14
Property< std::string >
View
Definition:
view.h:9
src
display
monoview.h
Generated on Sun Mar 30 2014 13:32:30 for Voxellancer by
1.8.6