mirror of
https://github.com/greenshot/greenshot
synced 2025-07-14 00:53:51 -07:00
Merge remote-tracking branch 'remotes/origin/master' into release/1.2.9
This commit is contained in:
commit
0323705513
276 changed files with 5382 additions and 3666 deletions
|
@ -37,9 +37,9 @@ namespace Greenshot.Helpers {
|
|||
//Our end result
|
||||
int result = 0;
|
||||
//Take x2-x1, then square it
|
||||
double part1 = Math.Pow((x2 - x1), 2);
|
||||
double part1 = Math.Pow(x2 - x1, 2);
|
||||
//Take y2-y1, then square it
|
||||
double part2 = Math.Pow((y2 - y1), 2);
|
||||
double part2 = Math.Pow(y2 - y1, 2);
|
||||
//Add both of the parts together
|
||||
double underRadical = part1 + part2;
|
||||
//Get the square root of the parts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue