Program Listing for File camera.h¶
↰ Return to documentation for file (devices/camera.h)
#pragma once
#include "lupnt/core/config.h"
#include "lupnt/devices/device.h"
namespace lupnt {
class Camera : public Device {
public:
Camera(Config& config);
void Step(Real t) override;
void Setup() override;
protected:
Vec3 position_ = Vec3::Zero();
Mat3 orientation_ = Mat3::Identity();
int width_ = 0;
int height_ = 0;
// Renderer* renderer_ = nullptr;
};
} // namespace lupnt