#pragma once #include #include #include namespace RNR { class World; class Camera : public Instance { private: CoordinateFrame m_cframe; virtual void deserializeProperty(char* prop_name, pugi::xml_node prop); public: Camera(); ~Camera(); virtual std::string getClassName() { return "Camera"; } CoordinateFrame& getCFrame() { return m_cframe; }; void setCFrame(CoordinateFrame cframe) { m_cframe = cframe; }; bool zoom(float distance); }; }