view tk/geometry2.d @ 0:e907d2c54ec3

Initial import
author David Bryant <daveb@acres.com.au>
date Wed, 13 May 2009 15:42:39 +0930
parents
children c18e3f93d114
line wrap: on
line source

module tk.geometry2;

struct Point2 {
    this(double x, double y) {
        _x = x;
        _y = y;
    }

    private {
        immutable double _x, _y;
    }
}