Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit/AppGameKit Studio Showcase / Double variables - Win64 Plugin for Tier1

Author
Message
Kakise
AGK Tool Maker
3
Years of Service
User Offline
Joined: 25th May 2016
Location: Paris
Posted: 3rd Jan 2019 15:16
I came across a rather anoying problem recently and wanted to have more than 7 digits precision so I put around this little plugin that wraps the "long double" variable type in C++ for Tier 1.

It is really easy to use and self explanatory.

Still, it doesn't have any error exception throwing so beware when you use it (Like don't use AddDouble with to ints, it will consider the second int as being the id of another double. Use something like AddDouble(myId, 1.0) instead).

I attached the plugin, its source code (commented but in french), and a small example.

Screenshot:


Have fun

Attachments

Login to view attachments

Login to post a reply

Server time is: 2019-09-17 22:11:31
Your offset time is: 2019-09-17 22:11:31