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

Go to the source code of this file.

Classes

struct  ice::math::arr_t< Size, T >
struct  ice::math::arr_t< 1, T >
struct  ice::math::arr_t< 2, T >
struct  ice::math::arr_t< 3, T >
struct  ice::math::arr_t< 4, T >

Namespaces

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

Typedefs

template<u32 Size, typename T>
using ice::math::arr = arr_t<Size, T>
using ice::math::arr1f = arr<1, f32>
using ice::math::arr1u = arr<1, u32>
using ice::math::arr1i = arr<1, i32>
using ice::math::arr2f = arr<2, f32>
using ice::math::arr2u = arr<2, u32>
using ice::math::arr2i = arr<2, i32>
using ice::math::arr3f = arr<3, f32>
using ice::math::arr3u = arr<3, u32>
using ice::math::arr3i = arr<3, i32>
using ice::math::arr4f = arr<4, f32>
using ice::math::arr4u = arr<4, u32>
using ice::math::arr4i = arr<4, i32>

Functions

template<u32 Size, typename T, typename U = T>
constexpr auto ice::math::to_arr (arr_t< Size, U > arr_val) noexcept -> arr_t< Size, T >
template<u32 Size, typename T, typename U = T>
constexpr auto ice::math::to_arr (vec< Size, U > vec_val) noexcept -> arr_t< Size, T >
template<u32 Size, typename T>
constexpr auto ice::math::to_arr (vec< Size, T > vec_val) noexcept -> arr_t< Size, T >
template<u32 Size, typename T>
constexpr auto ice::math::to_vec (vec< Size, T > vec_val) noexcept -> vec< Size, T >
template<u32 Size, typename T>
constexpr auto ice::math::to_vec (arr_t< Size, T > arr_val) noexcept -> vec< Size, T >