|
Blender V5.3
|
#include <BLI_normalized_int_types.hh>
Public Types | |
| using | VecT = VecBase<float, 2> |
| using | IntVecT = VecBase<T, 2> |
Public Member Functions | |
| NormalizedIntVec ()=default | |
| constexpr | NormalizedIntVec (IntVecT value) |
| operator IntVecT () const | |
Static Public Member Functions | |
| static constexpr VecT | max () |
| static constexpr VecT | min () |
Public Attributes | |
| T | x: SizeX |
| T | y: SizeY |
Static Public Attributes | |
| static constexpr bool | is_signed = std::is_signed<T>() |
| static constexpr T | x_max = (1 << (SizeX - int(is_signed))) - 1 |
| static constexpr T | y_max = (1 << (SizeY - int(is_signed))) - 1 |
Definition at line 18 of file BLI_normalized_int_types.hh.
| using blender::detail::NormalizedIntVec< T, 2, SizeX, SizeY >::IntVecT = VecBase<T, 2> |
Definition at line 20 of file BLI_normalized_int_types.hh.
| using blender::detail::NormalizedIntVec< T, 2, SizeX, SizeY >::VecT = VecBase<float, 2> |
Definition at line 19 of file BLI_normalized_int_types.hh.
|
default |
|
inlineconstexpr |
Definition at line 36 of file BLI_normalized_int_types.hh.
|
inlinestaticconstexpr |
Definition at line 43 of file BLI_normalized_int_types.hh.
|
inlinestaticconstexpr |
Definition at line 48 of file BLI_normalized_int_types.hh.
|
inline |
Definition at line 38 of file BLI_normalized_int_types.hh.
|
staticconstexpr |
Definition at line 21 of file BLI_normalized_int_types.hh.
Referenced by min().
| T blender::detail::NormalizedIntVec< T, 2, SizeX, SizeY >::x |
Definition at line 32 of file BLI_normalized_int_types.hh.
Referenced by NormalizedIntVec(), and operator IntVecT().
|
staticconstexpr |
Definition at line 22 of file BLI_normalized_int_types.hh.
| T blender::detail::NormalizedIntVec< T, 2, SizeX, SizeY >::y |
Definition at line 33 of file BLI_normalized_int_types.hh.
Referenced by NormalizedIntVec(), and operator IntVecT().
|
staticconstexpr |
Definition at line 23 of file BLI_normalized_int_types.hh.