{"action":"created","issue":{"url":"https://api.github.com/repos/go-gl/mathgl/issues/39","labels_url":"https://api.github.com/repos/go-gl/mathgl/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/go-gl/mathgl/issues/39/comments","events_url":"https://api.github.com/repos/go-gl/mathgl/issues/39/events","html_url":"https://github.com/go-gl/mathgl/pull/39","id":61577181,"number":39,"title":"Vector.go, matrix.go and mgl64 generation","user":{"login":"alexvasi","id":219994,"avatar_url":"https://avatars.githubusercontent.com/u/219994?v=3","gravatar_id":"","url":"https://api.github.com/users/alexvasi","html_url":"https://github.com/alexvasi","followers_url":"https://api.github.com/users/alexvasi/followers","following_url":"https://api.github.com/users/alexvasi/following{/other_user}","gists_url":"https://api.github.com/users/alexvasi/gists{/gist_id}","starred_url":"https://api.github.com/users/alexvasi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexvasi/subscriptions","organizations_url":"https://api.github.com/users/alexvasi/orgs","repos_url":"https://api.github.com/users/alexvasi/repos","events_url":"https://api.github.com/users/alexvasi/events{/privacy}","received_events_url":"https://api.github.com/users/alexvasi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-14T12:02:54Z","updated_at":"2015-03-15T01:38:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/go-gl/mathgl/pulls/39","html_url":"https://github.com/go-gl/mathgl/pull/39","diff_url":"https://github.com/go-gl/mathgl/pull/39.diff","patch_url":"https://github.com/go-gl/mathgl/pull/39.patch"},"body":"Fix for issues #34 and #32\r\n\r\nRun `go generate mgl32` to make `vector.go`, `matrix.go` and `mgl64` (or simply `go generate` in mgl32 directory). I would appreciate any ideas or suggestions.\r\n\r\nAll changes to the lib are purely cosmetic (comments, formatting) apart from following:\r\n* `matstack/transformStack` is added to `mgl64`.\r\n* mgl64/util.go:`MinValue = math.SmallestNonzeroFloat64`.\r\n* Left alone type casts like `float64(math.Sqrt(float64(...)))`. I do believe it's a noop.\r\n* Additional tests for vectors.\r\n* Moved vectorStatic and matrixStatic files to templates.\r\n* Order of vector and matrix functions is changed. Diffs are messy. To get nice diffs one can make a couple of trivial changes to old `genprog` (I will gladly send it to anyone on request)."},"comment":{"url":"https://api.github.com/repos/go-gl/mathgl/issues/comments/80792718","html_url":"https://github.com/go-gl/mathgl/pull/39#issuecomment-80792718","issue_url":"https://api.github.com/repos/go-gl/mathgl/issues/39","id":80792718,"user":{"login":"shurcooL","id":1924134,"avatar_url":"https://avatars.githubusercontent.com/u/1924134?v=3","gravatar_id":"","url":"https://api.github.com/users/shurcooL","html_url":"https://github.com/shurcooL","followers_url":"https://api.github.com/users/shurcooL/followers","following_url":"https://api.github.com/users/shurcooL/following{/other_user}","gists_url":"https://api.github.com/users/shurcooL/gists{/gist_id}","starred_url":"https://api.github.com/users/shurcooL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shurcooL/subscriptions","organizations_url":"https://api.github.com/users/shurcooL/orgs","repos_url":"https://api.github.com/users/shurcooL/repos","events_url":"https://api.github.com/users/shurcooL/events{/privacy}","received_events_url":"https://api.github.com/users/shurcooL/received_events","type":"User","site_admin":false},"created_at":"2015-03-15T01:38:03Z","updated_at":"2015-03-15T01:38:03Z","body":"I have one more minor suggestion. If I'm not mistaken, it's more common to use \".tmpl\" as the file extension for Go html or text/template files. I think it'd be more readable and consistent compared to \".tpl\"."}}