diff options
Diffstat (limited to 'intern/cycles/app/cycles_xml.h')
-rw-r--r-- | intern/cycles/app/cycles_xml.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/cycles/app/cycles_xml.h b/intern/cycles/app/cycles_xml.h index 1e3ed411312..2d225f3a013 100644 --- a/intern/cycles/app/cycles_xml.h +++ b/intern/cycles/app/cycles_xml.h @@ -23,6 +23,10 @@ class Scene; void xml_read_file(Scene *scene, const char *filepath); +/* macros for importing */ +#define RAD2DEGF(_rad) ((_rad) * (float)(180.0 / M_PI)) +#define DEG2RADF(_deg) ((_deg) * (float)(M_PI / 180.0)) + CCL_NAMESPACE_END #endif /* __CYCLES_XML__ */ |