Commit Graph

425 Commits

Author SHA1 Message Date
faiface 15f0c6b7b2 minor change 2017-03-06 19:59:02 +01:00
faiface f0394ec7d1 replace Transform by much simpler Matrix 2017-03-06 19:58:24 +01:00
faiface 1083ca720d add Picture.Original 2017-03-06 19:04:57 +01:00
faiface 53066d4759 fix Picture drawing in Canvas 2017-03-06 16:09:09 +01:00
faiface 17d1731d66 fix Window.MousePosition (new coordinate system) 2017-03-06 15:51:59 +01:00
faiface 146797bad5 fix PictureData.Color (off by 1) 2017-03-06 13:05:45 +01:00
faiface c91d49dadf return pointers from constructors of Triangles/PictureData 2017-03-06 00:44:16 +01:00
faiface 69a3c17cfc big big commit - rework whole pixelgl 2017-03-06 00:28:52 +01:00
faiface e9d6e33b8a change PictureData receiver to pointer 2017-03-05 23:16:22 +01:00
faiface 3aa7e6e8bf change TrianglesPicture to retun intensity instead of ok 2017-03-05 12:17:07 +01:00
faiface 28f0f01173 add Lerp function 2017-03-05 11:47:18 +01:00
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