{"comment":{"url":"https://api.github.com/repos/tim37021/raytracing/comments/16531116","html_url":"https://github.com/tim37021/raytracing/commit/dd5191db59d3c03f0dd097d5b0194924a6cb79bf#commitcomment-16531116","id":16531116,"user":{"login":"tim37021","id":5507113,"avatar_url":"https://avatars.githubusercontent.com/u/5507113?v=3","gravatar_id":"","url":"https://api.github.com/users/tim37021","html_url":"https://github.com/tim37021","followers_url":"https://api.github.com/users/tim37021/followers","following_url":"https://api.github.com/users/tim37021/following{/other_user}","gists_url":"https://api.github.com/users/tim37021/gists{/gist_id}","starred_url":"https://api.github.com/users/tim37021/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tim37021/subscriptions","organizations_url":"https://api.github.com/users/tim37021/orgs","repos_url":"https://api.github.com/users/tim37021/repos","events_url":"https://api.github.com/users/tim37021/events{/privacy}","received_events_url":"https://api.github.com/users/tim37021/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"dd5191db59d3c03f0dd097d5b0194924a6cb79bf","created_at":"2016-03-07T09:59:28Z","updated_at":"2016-03-07T09:59:28Z","body":"I think we have the same idea. But I am not sure\r\n\r\nstruct intersection\r\n{\r\n  point3 n;\r\n  double t\r\n};\r\n\r\nrayXXXIntersection(biased_e, d, ...., &intersect_data);\r\n\r\nBy the way, I have implement a polymorphism version in polymorphism branch.\r\nthat can make adding new primitive easier."}}