git.ucc.asn.au
/
ipdf
/
code.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f59f24d
)
The BeĢziers are quadratic not cubic...
author
Sam Moore
<
[email protected]
>
Wed, 18 Jun 2014 09:19:40 +0000
(17:19 +0800)
committer
Sam Moore
<
[email protected]
>
Wed, 18 Jun 2014 09:19:40 +0000
(17:19 +0800)
I can maths
src/bezier.h
patch
|
blob
|
history
diff --git
a/src/bezier.h
b/src/bezier.h
index
4e1c404
..
5a0015e
100644
(file)
--- a/
src/bezier.h
+++ b/
src/bezier.h
@@
-9,7
+9,7
@@
namespace IPDF
extern int BinomialCoeff(int n, int k);
extern Real Bernstein(int k, int n, const Real & u);
- /** A _
cubic_ bezier. I really want to make them an arbitrary size but that might upset David
. **/
+ /** A _
quadratic_ bezier
. **/
struct Bezier
{
Real x0; Real y0;
UCC
git Repository :: git.ucc.asn.au