1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-26 17:54:52 +02:00

Keep our pseudocode compilable... (#179)

This commit is contained in:
Simon Cozens
2019-06-11 01:01:23 +01:00
committed by Pomax
parent dc26026d09
commit 2872a1b1d6

View File

@@ -124,7 +124,7 @@ lut = [ [1], // n=0
[1,5,10,10,5,1], // n=5
[1,6,15,20,15,6,1]] // n=6
binomial(n,k):
function binomial(n,k):
while(n >= lut.length):
s = lut.length
nextRow = new array(size=s+1)