Euphoria
|
Classes | |
struct | PanData |
struct | OrbitData |
struct | OrbitCamera |
struct | DefaultCamera |
struct | LerpCamera |
struct | CameraFrame |
struct | EditorCameraState3 |
struct | TextFileString |
struct | Textfile |
struct | LocationInFile |
Functions | |
std::string | to_string (const CameraFrame &f) |
void | update_state (EditorCamera3 *self) |
EditorCameraStyle3 | get_next_style (EditorCameraStyle3 current_style) |
CameraFrame | get_frame_from_editor (EditorCamera3 *editor) |
void | set_frame_for_editor (const CameraFrame &frame, EditorCamera3 *editor) |
std::unique_ptr< detail::EditorCameraState3 > | make_orbit_camera (const CameraFrame &start, const CompiledCamera3 &latest_camera, const Viewport &latest_viewport, const vec2i &latest_mouse, bool latest_shift) |
std::unique_ptr< detail::EditorCameraState3 > | make_default_camera () |
std::optional< float > | calc_zoom_move (int dx, int dy, float length, EditorCamera3 *owner) |
void | set_default_state (EditorCamera3 *cam) |
std::unique_ptr< detail::EditorCameraState3 > | make_lerp_camera (EditorCamera3 *owner, const CameraFrame &to, float time) |
std::shared_ptr< Textfile > | create_from_string (const std::string &str) |
Function Documentation
◆ calc_zoom_move()
std::optional<float> eu::core::detail::calc_zoom_move | ( | int | dx, |
int | dy, | ||
float | length, | ||
EditorCamera3 * | owner | ||
) |
Definition at line 109 of file camera3.editor.cc.
◆ create_from_string()
std::shared_ptr< Textfile > eu::core::detail::create_from_string | ( | const std::string & | str | ) |
Definition at line 63 of file textfileparser.cc.
◆ get_frame_from_editor()
CameraFrame eu::core::detail::get_frame_from_editor | ( | EditorCamera3 * | editor | ) |
Definition at line 52 of file camera3.editor.cc.
◆ get_next_style()
EditorCameraStyle3 eu::core::detail::get_next_style | ( | EditorCameraStyle3 | current_style | ) |
Definition at line 39 of file camera3.editor.cc.
◆ make_default_camera()
std::unique_ptr< detail::EditorCameraState3 > eu::core::detail::make_default_camera | ( | ) |
Definition at line 542 of file camera3.editor.cc.
◆ make_lerp_camera()
std::unique_ptr<detail::EditorCameraState3> eu::core::detail::make_lerp_camera | ( | EditorCamera3 * | owner, |
const CameraFrame & | to, | ||
float | time | ||
) |
Definition at line 547 of file camera3.editor.cc.
◆ make_orbit_camera()
std::unique_ptr< detail::EditorCameraState3 > eu::core::detail::make_orbit_camera | ( | const CameraFrame & | start, |
const CompiledCamera3 & | latest_camera, | ||
const Viewport & | latest_viewport, | ||
const vec2i & | latest_mouse, | ||
bool | latest_shift | ||
) |
Definition at line 529 of file camera3.editor.cc.
◆ set_default_state()
void eu::core::detail::set_default_state | ( | EditorCamera3 * | cam | ) |
Definition at line 519 of file camera3.editor.cc.
◆ set_frame_for_editor()
void eu::core::detail::set_frame_for_editor | ( | const CameraFrame & | frame, |
EditorCamera3 * | editor | ||
) |
Definition at line 62 of file camera3.editor.cc.
◆ to_string()
std::string eu::core::detail::to_string | ( | const CameraFrame & | f | ) |
Definition at line 27 of file camera3.editor.cc.
◆ update_state()
void eu::core::detail::update_state | ( | EditorCamera3 * | self | ) |
Definition at line 31 of file camera3.editor.cc.