10#include "../macros.hpp"
15hi_export_module(hikogui.geometry : scale3);
17hi_export
namespace hi {
inline namespace v1 {
22 using value_type = array_type::value_type;
26 constexpr scale3& operator=(
scale3 const&)
noexcept =
default;
27 constexpr scale3& operator=(
scale3&&)
noexcept =
default;
45 hi_axiom(holds_invariant());
70 return equal(lhs._v, rhs._v);
75 return _v.w() == 1.0f;
112[[
nodiscard]]
constexpr scale3 operator/(extent3
const& lhs, extent3
const& rhs)
noexcept
114 return scale3{f32x4{lhs}.xyz1() / f32x4{rhs}.xyz1()};
Defined the geo::extent, extent2 and extent3 types.
@ other
The gui_event does not have associated data.
DOXYGEN BUG.
Definition algorithm_misc.hpp:20
The HikoGUI namespace.
Definition recursive_iterator.hpp:15
constexpr Out narrow_cast(In const &rhs) noexcept
Cast numeric values without loss of precision.
Definition cast.hpp:378
A high-level geometric extent.
Definition extent3.hpp:33
static constexpr scale3 uniform(extent3 src_extent, extent3 dst_extent) noexcept
Get a uniform-scale-transform to scale an extent to another extent.
Definition scale3.hpp:61
A high-level geometric vector Part of the high-level vector, point, mat and color types.
Definition vector3.hpp:26
Definition simd_intf.hpp:18