mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
sprout/darkroom/cameras/simple_camera.hpp 視点と回転の設定を実装
This commit is contained in:
parent
c86fa430c1
commit
3e028096fd
5 changed files with 191 additions and 17 deletions
27
sprout/darkroom/cameras/angle_of_view.hpp
Normal file
27
sprout/darkroom/cameras/angle_of_view.hpp
Normal file
|
@ -0,0 +1,27 @@
|
|||
#ifndef SPROUT_DARKROOM_CAMERAS_ANGLE_OF_VIEW_HPP
|
||||
#define SPROUT_DARKROOM_CAMERAS_ANGLE_OF_VIEW_HPP
|
||||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/tuple/tuple.hpp>
|
||||
#include <sprout/darkroom/coords/vector.hpp>
|
||||
|
||||
namespace sprout {
|
||||
namespace darkroom {
|
||||
namespace cameras {
|
||||
//
|
||||
// angle_of_view_reference
|
||||
//
|
||||
struct angle_of_view_reference {
|
||||
public:
|
||||
enum values {
|
||||
long_side,
|
||||
short_side,
|
||||
width,
|
||||
height
|
||||
};
|
||||
};
|
||||
} // namespace cameras
|
||||
} // namespace darkroom
|
||||
} // namespace sprout
|
||||
|
||||
#endif // #ifndef SPROUT_DARKROOM_CAMERAS_ANGLE_OF_VIEW_HPP
|
Loading…
Add table
Add a link
Reference in a new issue