WXP C++ Library
Version 6.74.9
Loading...
Searching...
No Matches
include
Range.h
1
#ifndef _WINC_RANGE
2
#define _WINC_RANGE
3
4
namespace
WXP
{
5
struct
Range
{
6
float
min;
7
float
max;
8
9
Range
();
10
Range
(
float
min,
float
max );
11
int
init
();
12
int
set
(
float
min,
float
max );
14
inline
float
getMin
(){
return
min; };
16
inline
float
getMax
(){
return
max; };
17
float
getRange
();
18
int
print
();
19
};
20
}
21
#endif
WXP
All WXP classes fall under the WXP namespace.
Definition
Angle.h:4
WXP::Range
This struct defines a simple range of values.
Definition
Range.h:5
WXP::Range::getRange
float getRange()
Definition
Range.cc:55
WXP::Range::getMax
float getMax()
Definition
Range.h:16
WXP::Range::print
int print()
Definition
Range.cc:64
WXP::Range::init
int init()
Definition
Range.cc:34
WXP::Range::Range
Range()
Definition
Range.cc:18
WXP::Range::set
int set(float min, float max)
Definition
Range.cc:45
WXP::Range::getMin
float getMin()
Definition
Range.h:14
Generated on Sun Jul 28 2024 18:05:35 for WXP C++ Library by
1.9.7