Skip to content

Commit

Permalink
Merge pull request #387 from waywardmonkeys/remove-narrowing-conversion
Browse files Browse the repository at this point in the history
glm_ease_back_inout: Use float constant for float var.
  • Loading branch information
recp authored Feb 10, 2024
2 parents 125002c + e80d163 commit db6f964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/cglm/ease.h
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ glm_ease_back_inout(float t) {

o = 1.70158f;
s = o * 1.525f;
x = 0.5;
x = 0.5f;
n = t / 0.5f;

if (n < 1.0f) {
Expand Down

0 comments on commit db6f964

Please sign in to comment.