This repository has been archived on 2019-09-17. You can view files and clone it, but cannot push or open issues or pull requests.
Files
research-project/src/camera.hpp

22 lines
342 B
C++

#pragma once
#include <string>
namespace fmri
{
struct Camera {
float pos[3];
float angle[2];
void reset();
void configureRenderingContext();
void registerControls();
std::string infoLine();
static Camera& instance();
private:
Camera() noexcept = default;
};
}