IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
translate.hxx File Reference

Go to the source code of this file.

Namespaces

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

Functions

constexpr auto ice::math::translate (vec< 2, f32 > displacement) noexcept -> mat< 3, 3, f32 >
constexpr auto ice::math::translate (vec< 3, f32 > displacement) noexcept -> mat< 4, 4, f32 >
constexpr auto ice::math::translate (mat< 3, 3, f32 > left, vec< 2, f32 > right) noexcept -> mat< 3, 3, f32 >
constexpr auto ice::math::translate (mat< 4, 4, f32 > left, vec< 3, f32 > right) noexcept -> mat< 4, 4, f32 >
constexpr auto ice::math::translation (mat< 3, 3, f32 > const &matrix) noexcept -> vec< 2, f32 >
constexpr auto ice::math::translation (mat< 4, 4, f32 > const &matrix) noexcept -> vec< 3, f32 >