18 lines
167 B
C++
18 lines
167 B
C++
#pragma once
|
|
|
|
namespace Javelin {
|
|
|
|
template<typename T>
|
|
class Point2 {
|
|
public:
|
|
T x;
|
|
T y;
|
|
|
|
Point2(int a, int b)
|
|
: x(a)
|
|
, y(b) {
|
|
}
|
|
};
|
|
|
|
}
|