mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-22 15:53:14 +01:00
9 lines
169 B
D
9 lines
169 B
D
struct Vector {
|
|
union { float x; float y; }
|
|
const static Vector zero = { x : 0, y : 0 };
|
|
}
|
|
|
|
struct HBoxLayout {
|
|
Vector padding = Vector.zero;
|
|
}
|