mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-05 05:07:48 +00:00
GEEKING
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#undef min
|
||||
#undef max
|
||||
|
||||
namespace RBX
|
||||
{
|
||||
class NumberRange
|
||||
{
|
||||
public:
|
||||
float min;
|
||||
float max;
|
||||
|
||||
NumberRange(float a = 0) : min(a), max(a) {}
|
||||
NumberRange(float a, float b);
|
||||
bool operator==(const NumberRange& r) const { return min == r.min && max == r.max; }
|
||||
bool operator!=(const NumberRange& r) const { return !operator==(r); }
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user