FixedCamera.cc 710 Bytes
Newer Older
1
2
3
4
5
/***********************************************************************
 * Copyright 2011-2013 Computer Graphics Group RWTH Aachen University. *
 * All rights reserved.                                                *
 * Distributed under the terms of the MIT License (see LICENSE.TXT).   *
 **********************************************************************/
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include <ACGL/Scene/FixedCamera.hh>


namespace ACGL{
namespace Scene{

FixedCamera::FixedCamera()
{
}

FixedCamera::FixedCamera(const glm::vec3 &_pos, const glm::mat4 &_view, const glm::mat4 &_proj, const glm::uvec2 &_viewport) :
    mPosition(_pos),
    mViewMatrix(_view),
    mProjectionMatrix(_proj),
    mViewportSize(_viewport)
{
}

}
}