{"id":447,"date":"2019-12-15T22:32:27","date_gmt":"2019-12-16T06:32:27","guid":{"rendered":"http:\/\/fx-td.com\/houdiniandchill\/?p=447"},"modified":"2019-12-15T22:39:19","modified_gmt":"2019-12-16T06:39:19","slug":"archived-post-by-chris_gardner-4","status":"publish","type":"post","link":"http:\/\/fx-td.com\/houdiniandchill\/2019\/12\/15\/archived-post-by-chris_gardner-4\/","title":{"rendered":"Archived post by chris_gardner"},"content":{"rendered":"<p class=\"\">prim wrangle for completeness &#8220;`int pts[] = primpoints(0, @primnum);<br \/>\nfor (int i=0; i<len(pts); i++) {     vector thispos = point(0, \"P\", i);          vector nextpos;     if (i==len(pts) - 1) {         nextpos = point(0, \"P\", 0);     } else {         nextpos = point(0, \"P\", i+1);     }          vector prevpos;     if (i==0) {         prevpos = point(0, \"P\", len(pts));     } else {         prevpos = point(0, \"P\", i-1);     }          vector nextdir = normalize(nextpos - thispos);     vector prevdir = normalize(thispos - prevpos);\n    if (dot(nextdir, prevdir) > chf(&#8220;threshold&#8221;)) {         setpointgroup(0, &#8220;corner&#8221;, i, 1);     }<br \/>\n}&#8220;`<\/p>\n","protected":false},"excerpt":{"rendered":"<p>prim wrangle for completeness &#8220;`int pts[] = primpoints(0, @primnum); for (int i=0; i chf(&#8220;threshold&#8221;)) { setpointgroup(0, &#8220;corner&#8221;, i, 1); } }&#8220;`<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/posts\/447"}],"collection":[{"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/comments?post=447"}],"version-history":[{"count":0,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/posts\/447\/revisions"}],"wp:attachment":[{"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/media?parent=447"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/categories?post=447"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/fx-td.com\/houdiniandchill\/wp-json\/wp\/v2\/tags?post=447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}