MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / operator/

Function operator/

source/MRViewer/MRImGuiVectorOperators.h:110–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108
109template <typename A, typename B> requires MR::ImGuiMath::detail::ValidOperands<A, B>
110[[nodiscard]] constexpr auto operator/( A a, B b ) { return MR::ImGuiMath::applyElementwise( std::divides{}, a, b ); }
111
112template <MR::ImGuiMath::detail::Vector A, MR::ImGuiMath::detail::VectorOrScalar B> constexpr A& operator+=( A& a, B b ) { return a = a + b; }
113template <MR::ImGuiMath::detail::Vector A, MR::ImGuiMath::detail::VectorOrScalar B> constexpr A& operator-=( A& a, B b ) { return a = a - b; }

Callers

nothing calls this directly

Calls 1

applyElementwiseFunction · 0.85

Tested by

no test coverage detected