|
Bicameral Engine
GPU-resident engine for a magic-research open-world game
|
Classes | |
| struct | Axes |
Functions | |
| float | Radians (float degrees) |
| Vector3 | Cross (Vector3 left, Vector3 right) |
| Vector3 | Normalize (Vector3 vector) |
| float | HalfHeightAtTarget (float distance) |
| Axes | CameraAxes (const OrbitCameraState &state) |
Variables | |
| constexpr float | ORBIT_DEGREES_PER_PIXEL = 0.3f |
| constexpr float | MAX_PITCH_DEGREES = 89.0f |
| constexpr float | ZOOM_PER_STEP = 0.9f |
| constexpr float | ORTHOGRAPHIC_BACK_OFF = 1000.0f |
| constexpr float | PARALLEL_EPSILON = 1e-6f |
| Axes bicameral::render::anonymous_namespace{debug_camera.cpp}::CameraAxes | ( | const OrbitCameraState & | state | ) |
Definition at line 45 of file debug_camera.cpp.
References CameraAxes(), Cross(), Normalize(), bicameral::render::OrbitCameraState::pitchDegrees, Radians(), and bicameral::render::OrbitCameraState::yawDegrees.
Referenced by CameraAxes().
| Vector3 bicameral::render::anonymous_namespace{debug_camera.cpp}::Cross | ( | Vector3 | left, |
| Vector3 | right ) |
Definition at line 22 of file debug_camera.cpp.
References Cross(), bicameral::render::Vector3::x, bicameral::render::Vector3::y, and bicameral::render::Vector3::z.
Referenced by CameraAxes(), and Cross().
| float bicameral::render::anonymous_namespace{debug_camera.cpp}::HalfHeightAtTarget | ( | float | distance | ) |
Definition at line 33 of file debug_camera.cpp.
References HalfHeightAtTarget(), Radians(), and bicameral::render::OrbitCamera::VERTICAL_FIELD_OF_VIEW_DEGREES.
Referenced by HalfHeightAtTarget().
Definition at line 27 of file debug_camera.cpp.
References Normalize(), bicameral::render::Vector3::x, bicameral::render::Vector3::y, and bicameral::render::Vector3::z.
Referenced by CameraAxes(), and Normalize().
| float bicameral::render::anonymous_namespace{debug_camera.cpp}::Radians | ( | float | degrees | ) |
Definition at line 18 of file debug_camera.cpp.
References Radians().
Referenced by CameraAxes(), HalfHeightAtTarget(), and Radians().
|
constexpr |
Definition at line 13 of file debug_camera.cpp.
|
constexpr |
Definition at line 12 of file debug_camera.cpp.
|
constexpr |
Definition at line 15 of file debug_camera.cpp.
|
constexpr |
Definition at line 16 of file debug_camera.cpp.
|
constexpr |
Definition at line 14 of file debug_camera.cpp.