Linearly interpolate between this vector, and another vector, given normalised parameter 't'
| 736 | |
| 737 | // Linearly interpolate between this vector, and another vector, given normalised parameter 't' |
| 738 | inline constexpr v_2d lerp(const v_2d& v1, const double t) const |
| 739 | { |
| 740 | return (*this) * (T(1.0 - t)) + (v1 * T(t)); |
| 741 | } |
| 742 | |
| 743 | // Compare if this vector is numerically equal to another |
| 744 | inline constexpr bool operator == (const v_2d& rhs) const |
no outgoing calls
no test coverage detected