Commit Graph

314 Commits

Author SHA1 Message Date
faiface c1c1bae358 change TrianglesPicture to return (pic Vec, ok bool) 2017-03-05 11:47:09 +01:00
faiface 77c39d03c7 rename Vec.Apply -> Vec.Map 2017-03-01 23:13:14 +01:00
faiface a7fdbd618e add Vec.Apply 2017-03-01 23:12:48 +01:00
faiface 767a5a8b13 fix newly introduced bug in PictureDataFromImage 2017-03-01 12:36:53 +01:00
faiface b1311c29b6 fix bug in PictureDataFromImage 2017-03-01 12:34:30 +01:00
faiface 0644103ba1 add clarifying comment 2017-02-28 18:36:43 +01:00
faiface 1f91ae62d2 fix bug in PictureDataFromPicture 2017-02-28 18:34:02 +01:00
faiface 3e81c81f79 remove debug prints 2017-02-28 18:29:30 +01:00
faiface 7f7912cc16 minor changes 2017-02-28 18:24:31 +01:00
faiface d598e68c03 implement and document PictureData 2017-02-28 18:24:25 +01:00
faiface 7974f86c4a add Rect.Contains(Vec) bool method 2017-02-25 18:38:22 +01:00
faiface 095fec8622 fix PictureColor 2017-02-24 20:16:45 +01:00
faiface f7a52854c6 adapt GLTriangles (+ make them exported) 2017-02-24 19:30:06 +01:00
faiface 67529bf8fc stop using mainthread.CallVal 2017-02-24 15:45:32 +01:00
faiface 812df66d62 adjust imprecise doc 2017-02-24 15:39:40 +01:00
faiface 589becbcdb fix a bug + doc 2017-02-24 14:25:35 +01:00
faiface 7e09988467 adapt Batch to Picture 2017-02-24 01:21:23 +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 dbd90a0bcb move OpenGL specific stuff to pixelgl (except for Picture) 2017-02-22 20:44:38 +01:00
faiface 3300f02d21 adopt github.com/faiface/glhf 2017-02-11 14:09:47 +01:00
faiface ef76333994 remove unnecessary enabled field in Window 2017-02-03 16:48:38 +01:00
faiface 7a8967c9d1 fix TrianglesDrawer flush (SetLen) 2017-02-03 02:09:06 +01:00
faiface 0771f07888 update pixelgl.VertexSlice API similarly to Triangles 2017-01-28 20:14:20 +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 e48c3dd6cf clarify doc 2017-01-26 23:31:06 +01:00
faiface fc8dad2fc9 add PictureFromTexture function 2017-01-26 23:19:50 +01:00
faiface e670735858 rename Button.Name -> String 2017-01-26 15:31:54 +01:00
faiface df21279536 add Button.Name method 2017-01-26 15:16:26 +01:00
faiface b141bcbd50 this should've been with prev commit 2017-01-26 03:33:48 +01:00
faiface 19faeffcf1 move glfw init to pixel.Run 2017-01-26 03:33:21 +01:00
faiface 95444e8540 glTriangles optimization 2017-01-25 23:51:27 +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 eb0c51e137 fix typo in doc 2017-01-25 22:17:37 +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 bc97fa00b8 improve doc in pixel 2017-01-25 18:55:17 +01:00
faiface 4a31512454 update doc in pixelgl 2017-01-25 18:26:57 +01:00
faiface 8917a09da9 improve docs in pixelgl 2017-01-25 18:25:37 +01:00
faiface 1894e213d2 split Window.SetMonitor into two sub-functions 2017-01-25 18:14:19 +01:00
faiface e559499a44 rename Window.SetFullscreen -> SetMonitor 2017-01-25 18:12:11 +01:00
faiface 82deb99e14 make ZT def more readable 2017-01-25 18:08:23 +01:00