#Have Been Using this function for a while, Is there way to use it with decimals in X and Y

10 messages · Page 1 of 1 (latest)

thin nebulaBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.

inland quarry
#

change the variables from int to double in the class

weak rose
#

btw #windows

#

it has 100% to do with Win32 API 🤨

fleet scaffold
#

How do you expect it to work? You cant just print something in any arbitrary place

#

It has to be an integer because that is the index to where the character is printed

#

You can convert a double or float to int using lround or static cast or whatever

finite folio
#

you could increase the size of your grid or you could round the coords to the nearest integer, i recommend rounding the coords because it will be more accurate without being too big

thin nebulaBOT
#

This question thread is being automatically closed. If your question is not answered feel free to bump the post or re-ask. Take a look at !howto ask for tips on improving your question.