diff options
Diffstat (limited to 'indra/llcommon/llunit.h')
-rw-r--r-- | indra/llcommon/llunit.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llcommon/llunit.h b/indra/llcommon/llunit.h index f86f111b90..e2803c74b0 100644 --- a/indra/llcommon/llunit.h +++ b/indra/llcommon/llunit.h @@ -471,6 +471,9 @@ struct Hertz { typedef Hertz base_unit_t; }; LL_DECLARE_DERIVED_UNIT(1000, Hertz, Kilohertz); LL_DECLARE_DERIVED_UNIT(1000 * 1000, Hertz, Megahertz); LL_DECLARE_DERIVED_UNIT(1000 * 1000 * 1000, Hertz, Gigahertz); + +struct Radians { typedef Radians base_unit_t; }; +LL_DECLARE_DERIVED_UNIT(DEG_TO_RAD, Radians, Degrees); } // namespace LLUnits #endif // LL_LLUNIT_H |