view tests/mini/nocompile_initoverlap1.d @ 1651:cb960b882ca3 default tip

bindings were moved to dsource.org/projects/bindings/
author Moritz Warning <moritzwarning@web.de>
date Thu, 20 May 2010 20:05:03 +0200
parents 747fdd9245d7
children
line wrap: on
line source

struct Vector {
        union { float x; float y; }
        const static Vector zero = { x : 0, y : 0 };
}

struct HBoxLayout {
        Vector padding  = Vector.zero;
}