IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
projection.hxx File Reference
#include <ice/math.hxx>

Go to the source code of this file.

Namespaces

namespace  ice
 SPDX-License-Identifier: MIT.
namespace  ice::math
namespace  ice::math::math_detail

Functions

auto ice::math::perspective_fovx (rad field_of_view_horizontal, f32 aspect_ratio, f32 near_plane, f32 far_plane) noexcept -> mat< 4, 4, f32 >
auto ice::math::perspective_fovy (rad field_of_view_vertical, f32 aspect_ratio, f32 near_plane, f32 far_plane) noexcept -> mat< 4, 4, f32 >
constexpr auto ice::math::orthographic (f32 left, f32 right, f32 bottom, f32 top, f32 near_plane, f32 far_plane) noexcept -> mat< 4, 4, f32 >
constexpr auto ice::math::math_detail::perspective_rhs_lrbt (f32 left, f32 right, f32 bottom, f32 top, f32 near_plane, f32 far_plane) noexcept -> mat< 4, 4, f32 >
constexpr auto ice::math::orthographic (vec< 2, f32 > left_right, vec< 2, f32 > bottom_top, vec< 2, f32 > near_far) noexcept -> mat< 4, 4, f32 >