IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
scale.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::scale2d (vec< 2, f32 > v) noexcept -> mat< 2, 2, f32 >
constexpr auto ice::math::scale (vec< 3, f32 > v) noexcept -> mat< 4, 4, f32 >
constexpr auto ice::math::scale2d (mat< 2, 2, f32 > left, vec< 2, f32 > right) noexcept -> mat< 2, 2, f32 >
constexpr auto ice::math::scale (mat< 4, 4, f32 > left, vec< 3, f32 > right) noexcept -> mat< 4, 4, f32 >
constexpr auto ice::math::scale (mat< 4, 4, f32 > const &matrix) noexcept -> vec< 3, f32 >