mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Small cleanups [skip ci]
This commit is contained in:
parent
02a06a12b0
commit
98e6be5eb6
171 changed files with 1607 additions and 1769 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