mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[apps/range_1D] Add comment abour k_minFloat
This commit is contained in:
@@ -16,6 +16,8 @@ namespace Shared {
|
||||
|
||||
class __attribute__((packed)) Range1D final {
|
||||
public:
|
||||
/* If m_min and m_max are too close, we cannot divide properly the range by
|
||||
* the number of pixels, which creates a drawing problem. */
|
||||
constexpr static float k_minFloat = 1E-4f;
|
||||
constexpr static float k_default = 10.0f;
|
||||
Range1D(float min = -k_default, float max = k_default) :
|
||||
|
||||
Reference in New Issue
Block a user