Point2.h 167 B

123456789101112131415161718
  1. #pragma once
  2. namespace Javelin {
  3. template<typename T>
  4. class Point2 {
  5. public:
  6. T x;
  7. T y;
  8. Point2(int a, int b)
  9. : x(a)
  10. , y(b) {
  11. }
  12. };
  13. }