{"id":765,"date":"2012-04-21T17:04:42","date_gmt":"2012-04-21T16:04:42","guid":{"rendered":"http:\/\/shadowcovenant.com\/blog\/2012\/04\/21\/raycasting-working-woot\/"},"modified":"2012-04-21T17:04:42","modified_gmt":"2012-04-21T16:04:42","slug":"raycasting-working-woot","status":"publish","type":"post","link":"http:\/\/shadowcovenant.com\/blog\/2012\/04\/21\/raycasting-working-woot\/","title":{"rendered":"Raycasting working, woot!"},"content":{"rendered":"<p>Contrary to my expectations, I got raycasting working\u2026 It\u2019s not perfect, and I still need to identify which face the cursor intersected with, but it works nevertheless!<\/p>\n<p><a href=\"http:\/\/shadowcovenant.com\/blog\/wp-content\/uploads\/2012\/04\/raycasting.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px\" title=\"raycasting\" border=\"0\" alt=\"raycasting\" src=\"http:\/\/shadowcovenant.com\/blog\/wp-content\/uploads\/2012\/04\/raycasting_thumb.jpg\" width=\"550\" height=\"427\" \/><\/a><\/p>\n<p>Next step, finding which face it has intersected, and actually create blocks (updating the voxel representation)\u2026<\/p>\n<p>I might have to call it a day in an hour or so, since there\u2019s a concert tonight that I wanted to see\u2026 Ah, the difficulties of juggling game development and a real life! <img decoding=\"async\" style=\"border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none\" class=\"wlEmoticon wlEmoticon-openmouthedsmile\" alt=\"Open-mouthed smile\" src=\"http:\/\/shadowcovenant.com\/blog\/wp-content\/uploads\/2012\/04\/wlEmoticon-openmouthedsmile1.png\" \/><\/p>\n<div id=\"tweetbutton765\" class=\"tw_button\" style=\"\"><a href=\"http:\/\/twitter.com\/share?url=http%3A%2F%2Fshadowcovenant.com%2Fblog%2F2012%2F04%2F21%2Fraycasting-working-woot%2F&amp;text=Raycasting%20working%2C%20woot%21&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fshadowcovenant.com%2Fblog%2F2012%2F04%2F21%2Fraycasting-working-woot%2F\" class=\"twitter-share-button\"  style=\"width:55px;height:22px;background:transparent url('http:\/\/shadowcovenant.com\/blog\/wp-content\/plugins\/wp-tweet-button\/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;\">Tweet<\/a><\/div>","protected":false},"excerpt":{"rendered":"<p>Contrary to my expectations, I got raycasting working\u2026 It\u2019s not perfect, and I still need to identify which face the cursor intersected with, but it works nevertheless! Next step, finding which face it has intersected, and actually create blocks (updating the voxel representation)\u2026 I might have to call it a day in an hour or [&hellip;]<\/p>\n<div id=\"tweetbutton765\" class=\"tw_button\" style=\"\"><a href=\"http:\/\/twitter.com\/share?url=http%3A%2F%2Fshadowcovenant.com%2Fblog%2F2012%2F04%2F21%2Fraycasting-working-woot%2F&amp;text=Raycasting%20working%2C%20woot%21&amp;related=&amp;lang=en&amp;count=horizontal&amp;counturl=http%3A%2F%2Fshadowcovenant.com%2Fblog%2F2012%2F04%2F21%2Fraycasting-working-woot%2F\" class=\"twitter-share-button\"  style=\"width:55px;height:22px;background:transparent url('http:\/\/shadowcovenant.com\/blog\/wp-content\/plugins\/wp-tweet-button\/tweetn.png') no-repeat  0 0;text-align:left;text-indent:-9999px;display:block;\">Tweet<\/a><\/div>","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,6,29],"tags":[],"class_list":["post-765","post","type-post","status-publish","format-standard","hentry","category-development","category-games","category-ludumdare"],"_links":{"self":[{"href":"http:\/\/shadowcovenant.com\/blog\/wp-json\/wp\/v2\/posts\/765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/shadowcovenant.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/shadowcovenant.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/shadowcovenant.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/shadowcovenant.com\/blog\/wp-json\/wp\/v2\/comments?post=765"}],"version-history":[{"count":0,"href":"http:\/\/shadowcovenant.com\/blog\/wp-json\/wp\/v2\/posts\/765\/revisions"}],"wp:attachment":[{"href":"http:\/\/shadowcovenant.com\/blog\/wp-json\/wp\/v2\/media?parent=765"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/shadowcovenant.com\/blog\/wp-json\/wp\/v2\/categories?post=765"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/shadowcovenant.com\/blog\/wp-json\/wp\/v2\/tags?post=765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}