#ifndef HGL_GRAPH_CAMERA_INCLUDE #define HGL_GRAPH_CAMERA_INCLUDE #include namespace hgl { namespace graph { enum class CameraType { Perspective, Ortho };// /** * 摄像机数据结构 */ struct Camera { CameraType type=CameraType::Perspective; float width; ///<视图宽 float height; ///<视图高 float fov; ///<水平FOV float znear,zfar; ///