stc
Loading...
Searching...
No Matches
stc::math::VectorType2D Concept Reference

#include <Math.hpp>

Concept definition

template<typename T, typename IT>
concept stc::math::VectorType2D = requires (const T& val) {
{ val.x } -> std::convertible_to<IT>;
{ val.y } -> std::convertible_to<IT>;
}
Definition Math.hpp:46

Detailed Description

Describes an arbitrary 2D vector type that has the properties x and y.