Vigilante Game Framework
1.0.0.8
A 2D/3D C++ Game Framework using SFML.
|
Class that holds four of the same object for min/max range. Best use this when storing objects with at least two properties (i.e. 2D vectors) More...
#include <VRange.h>
Public Member Functions | |
VRangeBounds (T val) | |
VRangeBounds (T AA, T AB, T BA, T BB) | |
VRangeBounds (T min, T max) | |
VRangeBounds (const VRange< T > &min, const VRange< T > &max) | |
bool | operator== (VRangeBounds< T > range) |
bool | operator!= (VRangeBounds< T > range) |
Public Attributes | |
VRange< T > | A |
Smallest range bounderies. | |
VRange< T > | B |
Largest range bounderies. | |
Class that holds four of the same object for min/max range. Best use this when storing objects with at least two properties (i.e. 2D vectors)
|
inline |
val | The value to set both range bounds to. (Seems almost unnecessary for a range but it saves time setting one value to both manually). |
|
inline |
AA | The lowest value in the range bound A. |
AB | The highest value in the range bounds A. |
BA | The lowest value in the range bound B. |
BB | The highest value in the range bounds B. |
|
inline |
min | The lowest value in the range bounds. |
max | The highest value in the range bounds. |
|
inline |
|
inline |
range | The other VRangeBound. |
|
inline |
range | The other VRangeBound. |