pull/3236/head
Sam Hellawell 8 months ago
parent bce97f49b4
commit 1317434ac0

@ -86,7 +86,7 @@ namespace MWRender
float springOutGeneric(float x, float lambda) float springOutGeneric(float x, float lambda)
{ {
// Higher lambda = lower swing amplitude. 1 = 150% swing amplitude. // Higher lambda = lower swing amplitude. 1 = 150% swing amplitude.
// w corresponds to the frequency of oscillation in the easing function, controlling the amount of overswing // w is the frequency of oscillation in the easing func, controls the amount of overswing
constexpr float w = 1.5f * osg::PIf; // 4.71238 constexpr float w = 1.5f * osg::PIf; // 4.71238
return 1 - expf(-lambda * x) * cos(w * x); return 1 - expf(-lambda * x) * cos(w * x);
} }

@ -1427,5 +1427,13 @@ to default Morrowind fonts. Check this box if you still prefer original fonts ov
<source>Browse</source> <source>Browse</source>
<translation></translation> <translation></translation>
</message> </message>
<message>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;If enabled - makes transitions between different animations/poses much smoother. Also allows to load animation blending config YAML files that can be bundled with animations in order to customise blending styles.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation></translation>
</message>
<message>
<source>Smooth Animation Transitions</source>
<translation></translation>
</message>
</context> </context>
</TS> </TS>

Loading…
Cancel
Save