Commit Graph

407 Commits

Author SHA1 Message Date
faiface bca582815c add IM.FillCircleArc 2017-03-10 15:23:41 +01:00
faiface 63128da6ce add IM.FillCircle and IM.FillEllipse 2017-03-10 14:54:20 +01:00
faiface f93f599d7f add IM with several methods 2017-03-10 14:51:55 +01:00
faiface dcf70e5a26 fix mouse moving outside window with glfw callbacks 2017-03-10 13:11:44 +01:00
faiface 3071cf1750 add TODO comment 2017-03-10 00:56:35 +01:00
faiface c2a1fe7de8 only register mouse inside window 2017-03-10 00:01:58 +01:00
faiface 000a18e2cf fix GLTriangles.SetLen when decreasing length 2017-03-09 22:56:46 +01:00
faiface fa774a4259 fix key callback for glfw.KeyUnknown 2017-03-09 22:11:59 +01:00
faiface 94fe4019fd optimize Window.MousePosition 2017-03-09 00:56:57 +01:00
faiface da155895ba fix Batch 2017-03-08 23:58:20 +01:00
faiface a1e7f9bf04 better error messages %T -> (%T) 2017-03-08 23:51:53 +01:00
faiface 7f38aac901 minor stability change in Canvas.SetBounds 2017-03-08 22:51:18 +01:00
faiface 46f21a3096 fix changing Canvas Bounds 2017-03-08 19:19:20 +01:00
faiface 5a9c43bc6c fix Sprite for changing Picture bounds 2017-03-08 19:19:02 +01:00
faiface 0127a8ae21 clarify doc 2017-03-08 16:57:02 +01:00
faiface d797cee6ce optimize Canvas.SetBounds 2017-03-08 16:56:02 +01:00
faiface d63590a799 add PictureColor properties to Canvas TargetPicture 2017-03-08 16:37:57 +01:00
faiface 79bffcc7e8 another minor change (code consistency) 2017-03-08 16:29:25 +01:00
faiface b0d4233286 minor changes 2017-03-08 16:26:09 +01:00
faiface 4f2ef50783 remove multisampling (will add it back later) 2017-03-08 16:24:01 +01:00
faiface 907082326f fix color masking in Canvas.Clear 2017-03-08 15:02:40 +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 e4ecafefc5 add clarifying comment 2017-03-07 22:44:25 +01:00
faiface 3d13e52add allow efficiently drawing one Canvas onto another 2017-03-07 20:33:07 +01:00
faiface f65ea40e19 implement Picture for Canvas 2017-03-07 17:45:46 +01:00
faiface ee634c2a28 clarify doc 2017-03-07 17:43:13 +01:00
faiface 7feecc2e35 correct glhf.Bounds in Canvas 2017-03-07 01:06:37 +01:00
faiface 6b643e588a make Canvas code more consistent 2017-03-07 00:32:58 +01:00
faiface 741df92943 minor change 2017-03-06 20:02:24 +01:00
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