MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/1t25byx/post_examples_of_using_reflections_in_your/okldjii/?context=3
r/cpp • u/enl1l • May 02 '26
What the title says. I just want to see what interesting things people are using reflection for now that its in gcc. Thanks.
25 comments sorted by
View all comments
Show parent comment
1
I haven't needed unlerp ((x - a) / (b - a)), because generally my range minimum is 0 when normalizing (reducing that to just x / b), but I see how it could be useful, and evidently it exists in Unity and Construct.
(x - a) / (b - a)
x / b
2 u/Dubbus_ May 09 '26 My calling for game dev continues
2
My calling for game dev continues
View all comments
Show parent comment
1
u/fdwr fdwr@github 🔍 May 08 '26 edited May 09 '26
I haven't needed unlerp (
(x - a) / (b - a)), because generally my range minimum is 0 when normalizing (reducing that to justx / b), but I see how it could be useful, and evidently it exists in Unity and Construct.