Closed flamendless closed 3 years ago
Hey @flamendless thanks for your issue. #include <stdint.h>
might be a problem, I'd rather include #include <cstdint>
. I'll properly check the issue and fix it ASAP.
Also, if i do this
auto test = tweeny::from(1.0f).to(0.0f).during(10);
, can you tell me what's the equivalent ofauto
? i dont want to use auto
It uses the type from the argument to tweeny::from
. In your case you're passing a float, you'd get tween<float>
. If you pass 1.0f, 2, 10L
to tweeny::from
you'd get tween<float, int, long>
for auto. Does that answer your question?
@mobius3 what's the problem with stdint.h, and why prefer cstding over it?
tweeny::tween<float>
works! thank you.
thanks a lot!
before
#include "tweeny.h"
,<string>
and<stdint.h>
must be included firstAlso, if i do this
auto test = tweeny::from(1.0f).to(0.0f).during(10);
, can you tell me what's the equivalent ofauto
? i dont want to useauto
Thank you