Commit Graph

397 Commits

Author SHA1 Message Date
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
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