mirror of
https://github.com/jhasse/poly2tri.git
synced 2025-01-04 00:43:31 +01:00
Newline at end of file
This commit is contained in:
parent
21f20031a8
commit
feab1de1bc
@ -460,4 +460,4 @@ double Random(double (*fun)(double), double xmin = 0, double xmax = 1)
|
|||||||
|
|
||||||
// Returns if valid and try again if not valid
|
// Returns if valid and try again if not valid
|
||||||
return Y < fun(X) ? X : Random(Fun, xmin, xmax);
|
return Y < fun(X) ? X : Random(Fun, xmin, xmax);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user