mirror of
https://github.com/open-goal/jak-project
synced 2026-09-03 02:14:07 -04:00
[jak2] Fix degrees conversion for particle rotation (#2413)
Hopefully this will fix all the rotated particles
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user