From 40eae78855c26a9753d55206849e2d017a512c2b Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sun, 6 Apr 2008 15:41:27 +0000 Subject: [PATCH] Added George's patch with instance members for beziers. --- Source/OpenTK/Math/BezierCurve.cs | Bin 11004 -> 8161 bytes Source/OpenTK/Math/BezierCurveCubic.cs | Bin 10350 -> 5130 bytes Source/OpenTK/Math/BezierCurveQuadric.cs | Bin 8804 -> 4357 bytes 3 files changed, 0 insertions(+), 0 deletions(-) diff --git a/Source/OpenTK/Math/BezierCurve.cs b/Source/OpenTK/Math/BezierCurve.cs index 383de5e9cada0755176a0f931f4e9aae281851f8..0ade5140703e9f6575c9acdc7c0f317210a10ac4 100644 GIT binary patch literal 8161 zcmeHM+in{-5Pg;a{lnCGkz#pe8)#7=wt>V=jG(y~vC$?7{6McLiRfxqAh}kQqJP^D z>0HRwt}MHD?4(H%AaKMbIULUQ%363+co@e+DD$DV;3pbh zK0h72-PwUmmL{DxJcPqywyHPFpIMr$@i%%!UL0)(y z08_P~pKz|h>S=MIhcL3m6jZ(dSCkf)42|>FoR=P%6apt&SI7Gg9!7-?W0Q|zsJ${7 z5)uxVpPcLt4CfV52j>eo(uEzv?|-KguPrYeblMMeJ{0M6+MRakh}Ox%c|Cp9943cF zmg$sObjgvH>9qgsv|EG00QOutohrLH2;(<; zX0_9~cc4&C9}OxZE$xMdx$zTF4uy!)niYnZI9L=V%vJ937D8}Pqxk*=c~hDBsLnHe zhAU>}ISL9;#%1c^3DZ9$@;FBX5BnM?VC7NP7P?tl%3SEF)ACf5$;6OG0w7AeATlcLOq zWJsyX(lSH#h9n#n52((S^}b;1EYNICuCj(?6L>7#K{0~uWP60h8I=&pkuOx6nPeY+ zq@^a&35rwYL&uh>g0}obd6*DK*<3A1nPk~2Pf5~zVLXf})L0|VgkRiTsX5sjMA^{Z zpu$mB;G*Lo-k^r22`{yIY>Sz;-sqswRm)?Bjx-t_T{IXMGU&;9nWLL&PQ%Dp=Y;~^ zV94|`6+gM9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