X-Git-Url: http://git.scottworley.com/nt3d/blobdiff_plain/a4cc880243177697bfa0a1e9091bfd12a60366ab..a9f371ff81df6ee1a50d7a0376c278e6b6a16129:/nt3d.js?ds=inline diff --git a/nt3d.js b/nt3d.js index ae17af1..daa628b 100644 --- a/nt3d.js +++ b/nt3d.js @@ -30,6 +30,9 @@ nt3d = { } return result; }, + closed_trianglefan: function(fan) { + return nt3d.trianglefan(fan.concat([fan[1]])); + }, quadstrip: function(strip) { if (strip.length % 2 != 0) { alert("quadstrip length not divisble by 2!");