Commit Graph

347 Commits

Author SHA1 Message Date
faiface 074d1cedaa rename Mat3->Mat, InvMat3->InvMat in Transform 2016-12-21 20:32:52 +01:00
faiface 45c2dd9be7 add InvMat3, Project and Unproject methods to Transform 2016-12-21 20:31:09 +01:00
faiface 9a7a73b94e add input handling methods (keyboard, mouse) 2016-12-21 20:18:38 +01:00
faiface ef0c51a473 fix NewMultiShape 2016-12-20 14:56:45 +01:00
faiface e54a3b8f38 simplify NewMultiShape 2016-12-20 14:23:50 +01:00
faiface 981fb91ce5 add VertexArray.Vertex and VertexArray.Vertices methods 2016-12-20 13:56:25 +01:00
faiface 800add157d add fast VertexArray.SetVertex and VertexArray.Set methods 2016-12-20 01:23:33 +01:00
faiface 6986e8a000 heavily optimize AttrType.Size by removing redundant map 2016-12-19 23:50:14 +01:00
faiface 6ef42cf1ea add getters to Transform 2016-12-19 01:29:08 +01:00
faiface e616db81fc change Picture receiver to pointer 2016-12-19 01:11:34 +01:00
faiface 303c66d2b9 remove destructors, instead SetFinalizer 2016-12-18 20:16:27 +01:00
faiface 5f657bafef add MultiShape 2016-12-18 02:06:50 +01:00
faiface 24608a6068 add Picture.IsNil method 2016-12-17 19:17:27 +01:00
faiface 12a6bd1e25 add default uniform values in default window shader 2016-12-17 12:57:48 +01:00
faiface 947cb02f8c add Window.DefaultShader 2016-12-17 12:37:28 +01:00
faiface 1c8297b7ab fix shader creation in window 2016-12-16 20:46:24 +01:00
faiface ddfede847e remove unnecessary window.Do from window methods 2016-12-16 20:27:40 +01:00
faiface 1ee93eecb0 add gitignore 2016-12-16 19:32:56 +01:00
faiface 8cd8d6d125 execute monitor stuff on main thread 2016-12-16 01:11:00 +01:00
faiface 2524fcc436 remove vertex usage option 2016-12-16 00:48:20 +01:00
faiface 560e79511e add VertexArray.Indices 2016-12-16 00:41:03 +01:00
faiface 2aaab88e07 adoprt universal AttrFormat 2016-12-16 00:28:52 +01:00
faiface 4ae2d2c7ad optimize binder 2016-12-15 14:31:10 +01:00
faiface 9e29fde8cc minor change 2016-12-15 01:03:18 +01:00
faiface 6f57d4035a another defer optimization 2016-12-15 00:25:31 +01:00
faiface 86e64b6fa3 optimize deffers 2016-12-14 19:07:25 +01:00
faiface 4427206988 add general Shape and embed it in specific shapes 2016-12-14 17:53:29 +01:00
faiface 6e139459cc add default unexported attribute types 2016-12-14 17:53:08 +01:00
faiface 1b01cba814 replace reentrancy by enabled by more general binder 2016-12-14 16:24:31 +01:00
faiface cbfc770d4f change VertexArray.SetVertexAttribute* to a single generic SetVertexAttr + add VertexAttr to get value 2016-12-13 16:46:19 +01:00
faiface db2d6be751 change internal default shader to use -1,-1 texCoords as no texture 2016-12-09 20:13:32 +01:00
faiface 2f402dd9a8 rename VertexArray.Count -> VertexNum 2016-12-08 21:02:21 +01:00
faiface c87527aa5d add indices to vertex array 2016-12-08 15:25:00 +01:00
faiface 6268c52e77 nicer code 2016-12-06 18:04:55 +01:00
faiface fa82623835 add Sprite 2016-12-06 17:53:10 +01:00
faiface 53cd80eb34 clarify doc 2016-12-06 16:38:00 +01:00
faiface 275fc03413 add Picture 2016-12-06 16:36:23 +01:00
faiface 5cff367362 add Width and Height methods to Texture 2016-12-06 16:23:55 +01:00
faiface 4323e83d49 remove OpenGL error reporting 2016-12-06 16:05:08 +01:00
faiface c8ee45dd4f add Rect 2016-12-05 23:19:31 +01:00
faiface 12575af796 rename vec.go to geometry.go (stuff coming) 2016-12-05 22:56:16 +01:00
faiface 30d301f4a0 improve code readability 2016-12-05 12:22:20 +01:00
faiface 0b2b73ce4a change NoOpDoer type just to Doer 2016-12-04 23:58:19 +01:00
faiface 3bc5f0a127 take advantage of reentrant Do in graphics primitives 2016-12-04 23:57:15 +01:00
faiface 6564597c43 fix compile error 2016-12-04 23:45:26 +01:00
faiface e2b361a8cd make Do reentrant 2016-12-04 20:28:50 +01:00
faiface 1cc26d0c2c add Group 2016-12-04 20:28:23 +01:00
faiface 0786726aa4 add line shape 2016-12-03 20:20:16 +01:00
faiface 23fd33ac75 add ellipse shape 2016-12-03 19:51:43 +01:00
faiface ffc9a1a0ff add color blending 2016-12-03 19:23:18 +01:00