Bug 求解决 ,另外 能不能附带这部分的测试用例

function DrawNode:drawPolygon(points, params)
local segments = #points
fillColor = cc.c4f(1,1,1,1)
borderWidth = 0
borderColor = cc.c4f(0,0,0,1)
if params then
if params.fillColor then fillColor = params.fillColor end
if params.borderWidth then borderWidth = params.borderWidth end
if params.borderColor then borderColor = params.borderColor end
end
local pa = CCPointArray:create(segments)
for i=1,segments do
pa:add(cc.p(points*, points*))
end
self:drawPolygon(pa:fetchPoints(), pa:count(), fillColor, borderWidth, borderColor)
return self
end
**

没有格式、没有bug说明,你让我肿么理解。。。

function DrawNode:drawPolygon(points, params)

self:drawPolygon(pa:fetchPoints(), pa:count(), fillColor, borderWidth, borderColor)

自己调用自己

git上没看到廖大提交代码啊.