snap angle, angles keys on transform to zero to avoid scientific notation in saved string

This commit is contained in:
Garux
2025-05-03 16:30:26 +05:00
parent 4cf97f5651
commit 05f3f66be7
4 changed files with 34 additions and 17 deletions
+1 -1
View File
@@ -339,7 +339,7 @@ public:
m_scale = matrix4_get_scale_vec3( mat );
#endif
//m_angles = angles_snapped_to_zero( matrix4_get_rotation_euler_xyz_degrees( mat ) );
//m_angles = vector3_snapped_to_zero( matrix4_get_rotation_euler_xyz_degrees( mat ), ANGLEKEY_SMALLEST );
}
void snapto( float snap ){
m_originKey.m_origin = origin_snapped( m_originKey.m_origin, snap );