{"action":"opened","issue":{"url":"https://api.github.com/repos/gama-platform/gama/issues/1489","labels_url":"https://api.github.com/repos/gama-platform/gama/issues/1489/labels{/name}","comments_url":"https://api.github.com/repos/gama-platform/gama/issues/1489/comments","events_url":"https://api.github.com/repos/gama-platform/gama/issues/1489/events","html_url":"https://github.com/gama-platform/gama/issues/1489","id":128295659,"number":1489,"title":"GLModel & GamaObjFile almost do the same thing. They should be merged","user":{"login":"AlexisDrogoul","id":579256,"avatar_url":"https://avatars.githubusercontent.com/u/579256?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexisDrogoul","html_url":"https://github.com/AlexisDrogoul","followers_url":"https://api.github.com/users/AlexisDrogoul/followers","following_url":"https://api.github.com/users/AlexisDrogoul/following{/other_user}","gists_url":"https://api.github.com/users/AlexisDrogoul/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexisDrogoul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexisDrogoul/subscriptions","organizations_url":"https://api.github.com/users/AlexisDrogoul/orgs","repos_url":"https://api.github.com/users/AlexisDrogoul/repos","events_url":"https://api.github.com/users/AlexisDrogoul/events{/privacy}","received_events_url":"https://api.github.com/users/AlexisDrogoul/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gama-platform/gama/labels/Affects%20Datafiles","name":"Affects Datafiles","color":"eb6420"},{"url":"https://api.github.com/repos/gama-platform/gama/labels/Affects%20Stability","name":"Affects Stability","color":"eb6420"},{"url":"https://api.github.com/repos/gama-platform/gama/labels/Concerns%20Development","name":"Concerns Development","color":"207de5"},{"url":"https://api.github.com/repos/gama-platform/gama/labels/Display%20OpenGL","name":"Display OpenGL","color":"006b75"},{"url":"https://api.github.com/repos/gama-platform/gama/labels/OS%20All","name":"OS All","color":"bfdadc"},{"url":"https://api.github.com/repos/gama-platform/gama/labels/Priority%20High","name":"Priority High","color":"fad8c7"},{"url":"https://api.github.com/repos/gama-platform/gama/labels/Version%20Git","name":"Version Git","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"agrignard","id":3928502,"avatar_url":"https://avatars.githubusercontent.com/u/3928502?v=3","gravatar_id":"","url":"https://api.github.com/users/agrignard","html_url":"https://github.com/agrignard","followers_url":"https://api.github.com/users/agrignard/followers","following_url":"https://api.github.com/users/agrignard/following{/other_user}","gists_url":"https://api.github.com/users/agrignard/gists{/gist_id}","starred_url":"https://api.github.com/users/agrignard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agrignard/subscriptions","organizations_url":"https://api.github.com/users/agrignard/orgs","repos_url":"https://api.github.com/users/agrignard/repos","events_url":"https://api.github.com/users/agrignard/events{/privacy}","received_events_url":"https://api.github.com/users/agrignard/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/gama-platform/gama/milestones/1","html_url":"https://github.com/gama-platform/gama/milestones/Gama%201.7","labels_url":"https://api.github.com/repos/gama-platform/gama/milestones/1/labels","id":1137896,"number":1,"title":"Gama 1.7","description":"Release 1.7 of GAMA","creator":{"login":"AlexisDrogoul","id":579256,"avatar_url":"https://avatars.githubusercontent.com/u/579256?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexisDrogoul","html_url":"https://github.com/AlexisDrogoul","followers_url":"https://api.github.com/users/AlexisDrogoul/followers","following_url":"https://api.github.com/users/AlexisDrogoul/following{/other_user}","gists_url":"https://api.github.com/users/AlexisDrogoul/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexisDrogoul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexisDrogoul/subscriptions","organizations_url":"https://api.github.com/users/AlexisDrogoul/orgs","repos_url":"https://api.github.com/users/AlexisDrogoul/repos","events_url":"https://api.github.com/users/AlexisDrogoul/events{/privacy}","received_events_url":"https://api.github.com/users/AlexisDrogoul/received_events","type":"User","site_admin":false},"open_issues":59,"closed_issues":166,"state":"open","created_at":"2015-05-28T12:26:48Z","updated_at":"2016-01-23T04:08:15Z","due_on":"2016-01-23T23:00:00Z","closed_at":null},"comments":0,"created_at":"2016-01-23T04:08:15Z","updated_at":"2016-01-23T04:08:15Z","closed_at":null,"body":"In package `ummisco.gama.opengl.files`, both `GamaObjFile` and `GLModel` classes use almost the same underlying algorithm for parsing `.obj` files. They should be merged so that all the functionalities of `GLModel` are put back in `GamaObjFile` (incl. finding textures), allowing instances to either directly render to a `GL` or to \"fill their buffer\" to create a `GamaShape`. Having similar functionalities in these two classes is clearly error-prone."}}