View Single Post
02-12-14, 12:18 AM   #23
Malsomnus
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Apr 2013
Posts: 203
Originally Posted by Duugu View Post
Ok. Let me see if I understand what you mean.

Lets assume 14, 6, 340 again.
The calculated value should be 357 .

You are saying I should use 14, 6, -20 instead.
The calculated value should be -3.
Suppose the values are 170, 185, 160? Then you turn it into 170, -175, 160, and have the same problem, because circles have no magic spots on them that makes problems go away, on account of being perfectly symmetrical.

/sigh
I gave you working code for a working algorithm, and mentioned an even better algorithm, do with it what you will.
__________________
SanityCheck - If you've ever said the words "Sorry, I forgot" then you need this add-on.

Remember, every time you post a comment on an add-on, a kitten gets its wings!
  Reply With Quote