[jak2] Fix degrees conversion for particle rotation (#2413)

Hopefully this will fix all the rotated particles
This commit is contained in:
water111
2023-03-25 18:01:43 -04:00
committed by GitHub
parent cbb07fb287
commit 58654ce60b
122 changed files with 3923 additions and 532 deletions
+2 -2
View File
@@ -3210,8 +3210,8 @@ goos::Object DefpartgroupElement::to_form_internal(const Env& env) const {
if (m_static_info.rot != 0) {
forms.push_back(pretty_print::to_symbol(fmt::format(
":rotate ((degrees {}) (degrees {}) (degrees {}))",
meters_to_string(m_static_info.rot.x()), meters_to_string(m_static_info.rot.y()),
meters_to_string(m_static_info.rot.z()))));
degrees_to_string(m_static_info.rot.x()), degrees_to_string(m_static_info.rot.y()),
degrees_to_string(m_static_info.rot.z()))));
}
if (m_static_info.scale != 1) {
forms.push_back(pretty_print::to_symbol(fmt::format(