Commit Graph

59 Commits

Author SHA1 Message Date
faiface 5a9c43bc6c fix Sprite for changing Picture bounds 2017-03-08 19:19:02 +01:00
faiface 43aae3d3bd fix newly introduced bug in Sprite.SetPicture 2017-03-08 00:43:53 +01:00
faiface 6874fff0f6 slightly optimize Sprite.SetPicture 2017-03-08 00:43:01 +01:00
faiface 4824154027 minor change 2017-03-07 22:50:49 +01:00
faiface 055da8dfbb add Sprite 2017-03-07 22:47:55 +01:00
faiface d598e68c03 implement and document PictureData 2017-02-28 18:24:25 +01:00
faiface bffb3598c7 add Picture interface 2017-02-24 01:21:11 +01:00
faiface c1843b8608 add Drawer struct 2017-02-23 13:07:40 +01:00
faiface 6dc55b8746 change fundamental interfaces (add Picture) 2017-02-22 20:57:22 +01:00
faiface 3300f02d21 adopt github.com/faiface/glhf 2017-02-11 14:09:47 +01:00
faiface 7a8967c9d1 fix TrianglesDrawer flush (SetLen) 2017-02-03 02:09:06 +01:00
faiface 63339235b7 rework Triangles API and adapt it 2017-01-28 20:01:59 +01:00
faiface e7a2af61fb reorder methods of TrianglesData 2017-01-26 23:40:29 +01:00
faiface 0af28b0b17 add TrianglesData.SetLen 2017-01-26 23:38:37 +01:00
faiface 9a4c02e488 fixed a weird typo in code 2017-01-25 22:43:10 +01:00
faiface 3579be2d83 minor change in code 2017-01-25 22:32:02 +01:00
faiface e9b982cb87 add TrianglesDrawer.Dirty and simplify code 2017-01-25 22:02:53 +01:00
faiface 2b300b48b7 fix Sprite.SetPicture once again 2017-01-25 19:57:42 +01:00
faiface cf4ab7e36a fix Sprite.SetPicture 2017-01-25 19:55:41 +01:00
faiface 7f5a21cd3c add note to doc 2017-01-25 19:53:15 +01:00
faiface 2890f8b4ae add Polygon shape 2017-01-25 19:50:49 +01:00
faiface 16c1672c61 optimize Sprite 2017-01-25 19:04:37 +01:00
faiface cb699e7057 add Canvas.Draw and remove SetTransform/MaskColor from Sprite 2017-01-25 17:33:33 +01:00
faiface 3b39cc60e9 rework VertexSlice for better performance 2017-01-14 00:47:49 +01:00
faiface 43bdd39739 performance optimizations (reducing allocations) 2017-01-13 01:53:52 +01:00
faiface aa0f7462ec performance optimizations 2017-01-13 01:07:13 +01:00
faiface bad60ef7fa remove unnecessary and confusing Triangles(Color|Texture)Data 2017-01-12 13:16:33 +01:00
faiface f7fe00fe4d add Copy method to Triangles interface 2017-01-12 11:44:54 +01:00
faiface 8ec1bdfadf remove TrianglesContainer + add Append to Triangles 2017-01-11 23:17:42 +01:00
faiface b4c035e2ff add TrianglesContainer interface 2017-01-11 13:16:27 +01:00
faiface 1f3c875d87 remove ID's from OpenGL objects + replace VertexArray with dynamically sized VertexSlice + add new Sprite 2017-01-10 23:54:35 +01:00
faiface 4541fe2c8b introduce new Target/Triangles/Drawer abstraction (very cool!) 2017-01-05 00:19:45 +01:00
faiface cafda2cfae backup before reinstall 2017-01-01 22:12:12 +01:00
faiface 9096277914 normalized most of lines to <=100 chars 2016-12-30 17:43:26 +01:00
faiface fefa184652 add own NRGBA color format 2016-12-23 20:25:47 +01:00
faiface 33eb8496d8 rename all XyNum -> NumXys (number of Xy) 2016-12-21 22:29:23 +01:00
faiface bb8a82dbc1 fix typo 2016-12-21 21:09:38 +01:00
faiface 074d1cedaa rename Mat3->Mat, InvMat3->InvMat in Transform 2016-12-21 20:32:52 +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 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 2524fcc436 remove vertex usage option 2016-12-16 00:48:20 +01:00
faiface 2aaab88e07 adoprt universal AttrFormat 2016-12-16 00:28:52 +01:00
faiface 4427206988 add general Shape and embed it in specific shapes 2016-12-14 17:53:29 +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 c87527aa5d add indices to vertex array 2016-12-08 15:25:00 +01:00