Skip to content

Commit

Permalink
update point
Browse files Browse the repository at this point in the history
  • Loading branch information
ei1333 committed Jul 8, 2024
1 parent 7da7fca commit f24f339
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions geometry/integer/point.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#pragma once

template <typename T>
struct Point {
T x, y;

Point() : x(0), y(0) {}
Point(T x, T y) : x(x), y(y) {}
};

// あとはまかせた!

0 comments on commit f24f339

Please sign in to comment.