Initial commit.
This commit is contained in:
commit
82b4f23c06
56 changed files with 3485 additions and 0 deletions
24
Client/Graphics/Camera.h
Normal file
24
Client/Graphics/Camera.h
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#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) {}
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue