summaryrefslogtreecommitdiff
path: root/thirdparty/pvrtccompressor/Interval.h
blob: a7252e8375d1ed83e1f4181e1432ac88d3462db6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

namespace Javelin {

template<typename T>
class Interval {
public:
    T min;
    T max;

    Interval() {
    }

    Interval<T> &operator|=(const T &x) {
        min.SetMin(x); 
        max.SetMax(x);
        return *this;
    }
};

}