24 lines
416 B
C++
24 lines
416 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
#include <typeindex>
|
|
|
|
#include <glm/glm/glm.hpp>
|
|
#include <glm/gtc/quaternion.hpp>
|
|
|
|
namespace Artifact {
|
|
|
|
class Camera {
|
|
public:
|
|
glm::vec3 pos;
|
|
glm::quat rot;
|
|
double fov;
|
|
float near;
|
|
float far;
|
|
|
|
std::vector<std::type_index> renderPasses;
|
|
|
|
Camera(glm::vec3 pos, double fov, float near, float far) : pos(pos), fov(fov), near(near), far(far) {}
|
|
};
|
|
|
|
}
|