File: point.hh

package info (click to toggle)
mrgingham 1.26-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 420 kB
  • sloc: cpp: 2,285; ansic: 479; sh: 364; python: 280; makefile: 92
file content (16 lines) | stat: -rw-r--r-- 265 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

namespace mrgingham
{
    struct PointInt
    {
        int x,y;
        PointInt(int _x=0, int _y=0) : x(_x), y(_y) {}
    };

    struct PointDouble
    {
        double x,y;
        PointDouble(double _x=0, double _y=0) : x(_x), y(_y) {}
    };
};