mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
More cleanups.
This commit is contained in:
parent
946521dd39
commit
864cc59f52
@ -12,14 +12,14 @@ namespace geom {
|
||||
struct Shear {
|
||||
union {
|
||||
struct {
|
||||
double xy;
|
||||
double xz;
|
||||
double yz;
|
||||
double xy = 0.0;
|
||||
double xz = 0.0;
|
||||
double yz = 0.0;
|
||||
};
|
||||
double e[3];
|
||||
};
|
||||
|
||||
Shear() : xy(0.0), xz(0.0), yz(0.0) {}
|
||||
Shear() {}
|
||||
|
||||
Shear(double xy, double xz, double yz) : xy(xy), xz(xz), yz(yz) {}
|
||||
|
||||
|
||||
@ -10,10 +10,10 @@ namespace rl {
|
||||
namespace geom {
|
||||
|
||||
struct Size {
|
||||
double width;
|
||||
double height;
|
||||
double width = 0.0;
|
||||
double height = 0.0;
|
||||
|
||||
Size() : width(0.0), height(0.0) {}
|
||||
Size() {}
|
||||
|
||||
Size(double width, double height) : width(width), height(height) {}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user