charcoal/CharcoalBuiltin/BuiltinCamera3D.h
elipzer 5db5ce971c Probably BREAKING - Moved everything into proper directories
Also added a copy pre-build even for .h files into the include
directory for charcoal and charcoal-builtin
2018-10-10 23:56:39 -04:00

27 lines
628 B
C++

#pragma once
#include "Prerenderable.h"
#include "Camera3D.h"
namespace charcoal
{
namespace builtin
{
class Camera3D : public Prerenderable, public charcoal::Camera3D
{
public:
Camera3D(
float fov_y,
float aspect_ratio,
float znear,
float zfar,
const vec3& position,
const vec3& forward = vec3(0.0f, 0.0f, 1.0f),
const vec3& up = vec3(0.0f, 1.0f, 0.0f),
const vec3& right = vec3(0.0f) // Zero for auto-calculated
) : charcoal::Camera3D(fov_y, aspect_ratio, znear, zfar, position, forward, up, right) {}
void prerender() override { charcoal::Camera3D::prerender(); }
};
}
}