n/basis: add final specifier to concrete basis
This commit is contained in:
parent
749e279073
commit
22c1f72a05
@ -40,7 +40,7 @@ namespace util {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/// Perlin: single value per grid space
|
/// Single value per grid space
|
||||||
template <typename T, lerp_t<T>>
|
template <typename T, lerp_t<T>>
|
||||||
struct value : public basis<T> {
|
struct value : public basis<T> {
|
||||||
using seed_t = typename basis<T>::seed_t;
|
using seed_t = typename basis<T>::seed_t;
|
||||||
@ -48,8 +48,8 @@ namespace util {
|
|||||||
value (seed_t);
|
value (seed_t);
|
||||||
value ();
|
value ();
|
||||||
|
|
||||||
virtual range<T> bounds (void) const override;
|
virtual range<T> bounds (void) const final;
|
||||||
virtual T operator() (T x, T y) const override;
|
virtual T operator() (T x, T y) const final;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -61,8 +61,8 @@ namespace util {
|
|||||||
gradient (seed_t);
|
gradient (seed_t);
|
||||||
gradient ();
|
gradient ();
|
||||||
|
|
||||||
virtual range<T> bounds (void) const override;
|
virtual range<T> bounds (void) const final;
|
||||||
virtual T operator() (T x, T y) const override;
|
virtual T operator() (T x, T y) const final;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -74,8 +74,8 @@ namespace util {
|
|||||||
cellular (seed_t);
|
cellular (seed_t);
|
||||||
cellular ();
|
cellular ();
|
||||||
|
|
||||||
virtual range<T> bounds (void) const override;
|
virtual range<T> bounds (void) const final;
|
||||||
virtual T operator() (T x, T y) const override;
|
virtual T operator() (T x, T y) const final;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user