5#include <Infinity/Types/Math/Vector2.hpp>
6#include <Infinity/Types/Math/Vector3.hpp>
7#include <Infinity/Types/Math/Vector4.hpp>
63 struct INFINITY_API_TEMPLATE
Stop
100 Stop(
float position, T value) : position(position), value(value) { }
123 return !(*
this == other);
Template wrapper for primitive types to integrate with the Infinity type system.
Definition Value.hpp:89
std::istream & operator>>(std::istream &in, t_Matrix3< T > &m)
Stream extraction operator for single-line text input.
Definition Matrix3.hpp:726
std::ostream & operator<<(std::ostream &out, const t_Matrix3< T > &m)
Stream insertion operator for single-line text output.
Definition Matrix3.hpp:709
Represents a control point in a gradient or interpolation ramp.
Definition Stop.hpp:64
bool operator<(const Stop< T > &other) const
Less-than comparison operator based on position.
Definition Stop.hpp:141
bool operator!=(const Stop< T > &other) const
Inequality comparison operator.
Definition Stop.hpp:121
bool operator<=(const Stop< T > &other) const
Less-than-or-equal comparison operator based on position.
Definition Stop.hpp:167
bool operator>(const Stop< T > &other) const
Greater-than comparison operator based on position.
Definition Stop.hpp:154
Stop(float position, T value)
Constructs a stop with specified position and value.
Definition Stop.hpp:100
float position
Position of the stop along the parameter axis.
Definition Stop.hpp:72
Stop()=default
Default constructor.
T value
Value associated with this stop.
Definition Stop.hpp:80
bool operator==(const Stop< T > &other) const
Equality comparison operator.
Definition Stop.hpp:110
bool operator>=(const Stop< T > &other) const
Greater-than-or-equal comparison operator based on position.
Definition Stop.hpp:180