Commit Graph

  • af76ff17d8 rename graphics.go -> sprite.go faiface 2017-03-23 19:46:24 +0100
  • fb8424cd32 add support for one point lines in imdraw faiface 2017-03-23 19:38:53 +0100
  • 4bebc7e6e4 add Vec.WithX/WithY and Rect.WithMin/WithMax faiface 2017-03-23 19:27:39 +0100
  • 4619398b9e fix 0 vector len + fix imdraw polyline faiface 2017-03-23 19:15:06 +0100
  • 0585b0af8c improve imdraw doc faiface 2017-03-22 18:53:25 +0100
  • 5e698c63f0 move IMDraw to separate package faiface 2017-03-21 11:33:11 +0100
  • 118bd03bac rename PictureData.Offset -> Index faiface 2017-03-20 23:13:18 +0100
  • 4b17773a1a fix bug in Canvas.MakeTriangles faiface 2017-03-20 23:11:50 +0100
  • b4adc875d8 make PictureData.Offset exported faiface 2017-03-20 23:08:36 +0100
  • 4c526867a4 heavily optimize Canvas.MakePicture with PictureData faiface 2017-03-20 19:54:59 +0100
  • bf5ff044b2 significantly lower memory usage of PictureData faiface 2017-03-19 20:20:07 +0100
  • 1be88eeb17 optimize color.NRGBA -> pixel.NRGBA conversion faiface 2017-03-19 20:09:05 +0100
  • 0b5c3f2171 fix updating Batch's TargetTriangles faiface 2017-03-19 19:49:08 +0100
  • bec6bdca6a add Matrix.Chained faiface 2017-03-19 00:08:46 +0100
  • 1ff57ffbe4 fix bug with matrix and mask in IMDraw faiface 2017-03-18 22:39:12 +0100
  • 562f5e19c9 fix bug in IMDraw.Push faiface 2017-03-18 20:18:44 +0100
  • 039b4f1706 add IMDraw type doc faiface 2017-03-18 17:18:41 +0100
  • 3aa5478499 add IMDraw drawing methods faiface 2017-03-18 16:18:05 +0100
  • 2e8f5fb05a remove Vec.YX because it's unreadable faiface 2017-03-18 11:55:01 +0100
  • 31d4f08173 add Vec.YX faiface 2017-03-18 11:34:31 +0100
  • 3ed1d0ab78 fix angle consistency in IMDraw.FillEllipseArc faiface 2017-03-16 12:53:52 +0100
  • 1f6d186539 fix another two misspells faiface 2017-03-16 00:47:50 +0100
  • 8625586bee fix two misspells faiface 2017-03-16 00:45:04 +0100
  • 04d6e176ff minor doc change faiface 2017-03-16 00:40:52 +0100
  • 19ba78bb0c minor changes faiface 2017-03-16 00:15:39 +0100
  • 311b474e89 remove last usages of mainthread.CallVal faiface 2017-03-15 23:43:00 +0100
  • cd11c39e64 one more doc bug faiface 2017-03-15 22:56:23 +0100
  • eab91b4110 fix many bugs in pixelgl doc faiface 2017-03-15 22:55:43 +0100
  • 6df99cdb35 fix many bugs in doc faiface 2017-03-15 19:40:39 +0100
  • 1cecf85bdb simplify IMDraw.Precision faiface 2017-03-15 14:01:55 +0100
  • 5cc293784e add IMDraw BasicTarget interface check faiface 2017-03-15 13:55:52 +0100
  • d11245e164 make IMDraw a fully featured BasicTarget faiface 2017-03-15 13:54:19 +0100
  • 415fc129ca add missing dot in doc faiface 2017-03-15 01:09:33 +0100
  • 21013620a9 minor change faiface 2017-03-15 00:35:14 +0100
  • 7d1f685d4b clarify doc faiface 2017-03-15 00:15:02 +0100
  • a614c3020c fix doc faiface 2017-03-14 23:01:24 +0100
  • da0eb85c4b fix doc faiface 2017-03-14 23:01:08 +0100
  • a3cc6f790e add IMDraw.Reset faiface 2017-03-14 22:58:06 +0100
  • 6292035cb9 minor doc change faiface 2017-03-14 22:51:45 +0100
  • 0dc74ce61f doc fix faiface 2017-03-14 22:50:52 +0100
  • 6f735df656 add Batch.Dirty faiface 2017-03-14 22:50:46 +0100
  • 9a4f43d086 fix doc faiface 2017-03-14 22:00:00 +0100
  • 1e22436612 clarify doc faiface 2017-03-14 21:59:31 +0100
  • 07ecae706d fix consistency in Canvas.SetBounds faiface 2017-03-14 19:27:28 +0100
  • cb3276493d fix window resizing consistency faiface 2017-03-14 18:31:44 +0100
  • c81dedd9a1 add Rect.Size faiface 2017-03-14 18:25:39 +0100
  • be276888f6 fix doc faiface 2017-03-14 16:19:58 +0100
  • b3e5e9f902 consistently rename Matrix.Move -> Moved faiface 2017-03-14 13:35:24 +0100
  • a2b9bb5b5a add X and Y vector constructors faiface 2017-03-14 13:27:18 +0100
  • fa57a41d2a make doc more readable faiface 2017-03-14 13:20:26 +0100
  • 35a14c2d18 rename ZM -> IM faiface 2017-03-14 13:15:53 +0100
  • d424523c63 rename IM -> IMDraw faiface 2017-03-14 13:12:29 +0100
  • 203adc914b change Rect to have Min, Max instead of Pos, Size faiface 2017-03-13 23:52:34 +0100
  • bca582815c add IM.FillCircleArc faiface 2017-03-10 15:23:41 +0100
  • 63128da6ce add IM.FillCircle and IM.FillEllipse faiface 2017-03-10 14:54:20 +0100
  • f93f599d7f add IM with several methods faiface 2017-03-10 14:51:55 +0100
  • dcf70e5a26 fix mouse moving outside window with glfw callbacks faiface 2017-03-10 13:11:44 +0100
  • 3071cf1750 add TODO comment faiface 2017-03-10 00:56:35 +0100
  • c2a1fe7de8 only register mouse inside window faiface 2017-03-10 00:01:58 +0100
  • 000a18e2cf fix GLTriangles.SetLen when decreasing length faiface 2017-03-09 22:56:46 +0100
  • fa774a4259 fix key callback for glfw.KeyUnknown faiface 2017-03-09 22:11:59 +0100
  • 94fe4019fd optimize Window.MousePosition faiface 2017-03-09 00:56:57 +0100
  • da155895ba fix Batch faiface 2017-03-08 23:58:20 +0100
  • a1e7f9bf04 better error messages %T -> (%T) faiface 2017-03-08 23:51:53 +0100
  • 7f38aac901 minor stability change in Canvas.SetBounds faiface 2017-03-08 22:51:18 +0100
  • 46f21a3096 fix changing Canvas Bounds faiface 2017-03-08 19:19:20 +0100
  • 5a9c43bc6c fix Sprite for changing Picture bounds faiface 2017-03-08 19:19:02 +0100
  • 0127a8ae21 clarify doc faiface 2017-03-08 16:57:02 +0100
  • d797cee6ce optimize Canvas.SetBounds faiface 2017-03-08 16:56:02 +0100
  • d63590a799 add PictureColor properties to Canvas TargetPicture faiface 2017-03-08 16:37:57 +0100
  • 79bffcc7e8 another minor change (code consistency) faiface 2017-03-08 16:29:25 +0100
  • b0d4233286 minor changes faiface 2017-03-08 16:26:09 +0100
  • 4f2ef50783 remove multisampling (will add it back later) faiface 2017-03-08 16:24:01 +0100
  • 907082326f fix color masking in Canvas.Clear faiface 2017-03-08 15:02:40 +0100
  • 43aae3d3bd fix newly introduced bug in Sprite.SetPicture faiface 2017-03-08 00:43:53 +0100
  • 6874fff0f6 slightly optimize Sprite.SetPicture faiface 2017-03-08 00:43:01 +0100
  • 4824154027 minor change faiface 2017-03-07 22:50:49 +0100
  • 055da8dfbb add Sprite faiface 2017-03-07 22:47:55 +0100
  • e4ecafefc5 add clarifying comment faiface 2017-03-07 22:44:25 +0100
  • 3d13e52add allow efficiently drawing one Canvas onto another faiface 2017-03-07 20:33:07 +0100
  • f65ea40e19 implement Picture for Canvas faiface 2017-03-07 17:45:46 +0100
  • ee634c2a28 clarify doc faiface 2017-03-07 17:43:13 +0100
  • 7feecc2e35 correct glhf.Bounds in Canvas faiface 2017-03-07 01:06:37 +0100
  • 6b643e588a make Canvas code more consistent faiface 2017-03-07 00:32:58 +0100
  • 741df92943 minor change faiface 2017-03-06 20:02:24 +0100
  • 15f0c6b7b2 minor change faiface 2017-03-06 19:59:02 +0100
  • f0394ec7d1 replace Transform by much simpler Matrix faiface 2017-03-06 19:58:24 +0100
  • 1083ca720d add Picture.Original faiface 2017-03-06 19:04:57 +0100
  • 53066d4759 fix Picture drawing in Canvas faiface 2017-03-06 16:09:09 +0100
  • 17d1731d66 fix Window.MousePosition (new coordinate system) faiface 2017-03-06 15:51:59 +0100
  • 146797bad5 fix PictureData.Color (off by 1) faiface 2017-03-06 13:05:45 +0100
  • c91d49dadf return pointers from constructors of Triangles/PictureData faiface 2017-03-06 00:44:16 +0100
  • 69a3c17cfc big big commit - rework whole pixelgl faiface 2017-03-06 00:28:52 +0100
  • e9d6e33b8a change PictureData receiver to pointer faiface 2017-03-05 23:16:22 +0100
  • 3aa7e6e8bf change TrianglesPicture to retun intensity instead of ok faiface 2017-03-05 12:17:07 +0100
  • 28f0f01173 add Lerp function faiface 2017-03-05 11:47:18 +0100
  • c1c1bae358 change TrianglesPicture to return (pic Vec, ok bool) faiface 2017-03-05 11:47:09 +0100
  • 77c39d03c7 rename Vec.Apply -> Vec.Map faiface 2017-03-01 23:13:14 +0100
  • a7fdbd618e add Vec.Apply faiface 2017-03-01 23:12:48 +0100
  • 767a5a8b13 fix newly introduced bug in PictureDataFromImage faiface 2017-03-01 12:36:53 +0100