mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
fixed scale factor for millimeters (#1182)
This commit is contained in:
parent
30fbc0bb64
commit
c0264f3831
|
@ -4221,7 +4221,7 @@ For example:
|
|||
// ...
|
||||
private:
|
||||
double magnitude;
|
||||
double unit; // 1 is meters, 1000 is kilometers, 0.0001 is millimeters, etc.
|
||||
double unit; // 1 is meters, 1000 is kilometers, 0.001 is millimeters, etc.
|
||||
};
|
||||
|
||||
##### Note
|
||||
|
|
Loading…
Reference in New Issue
Block a user