Commit Graph

454 Commits

Author SHA1 Message Date
Hajime Hoshi
969554b10b Refactoring: define identity matrix variable 2014-12-27 17:11:05 +09:00
Hajime Hoshi
7849a68cd0 Remove DrawImageAt 2014-12-26 23:01:47 +09:00
Hajime Hoshi
20da9bffbb Concat / Add returns the receiver 2014-12-26 22:53:47 +09:00
Hajime Hoshi
ffab448d40 Rename ColorGeometry -> ColorM, GeometryMatrix -> GeoM (#27) 2014-12-26 22:50:25 +09:00
Hajime Hoshi
951eac3452 Modify readme 2014-12-26 22:20:53 +09:00
Hajime Hoshi
bf027fef33 Bug fix: SetFramebufferSizeCallback can be called immediately 2014-12-26 21:49:31 +09:00
Hajime Hoshi
48f639db02 Bug fix: glfw's framebuffer might be lately changed after consuming some events 2014-12-26 20:44:35 +09:00
Hajime Hoshi
ce81251730 Bug fix: gl.EnableClientState should not be called 2014-12-26 20:13:57 +09:00
Hajime Hoshi
8ae96875c9 Bug fix: matrices' elements should be copied when assigning 2014-12-26 11:43:31 +09:00
Hajime Hoshi
d46e551c5c Remove New*Matrix 2014-12-26 11:31:20 +09:00
Hajime Hoshi
ec6dc4b7ec Use value-type values for some of DrawImageOption's members 2014-12-26 11:29:44 +09:00
Hajime Hoshi
d764afcb8f Make the elements of matrices optional 2014-12-26 11:22:36 +09:00
Hajime Hoshi
3e5688e2e1 Show SetElement function 2014-12-26 10:33:50 +09:00
Hajime Hoshi
cf1b1ed15e Add 'Add' methods 2014-12-26 04:39:30 +09:00
Hajime Hoshi
7ea4e19f58 Remove methods IsIdentity 2014-12-26 04:02:34 +09:00
Hajime Hoshi
d53d55a629 Rename *MatrixI -> New*Matrix 2014-12-26 03:58:33 +09:00
Hajime Hoshi
f7b2157585 Fix a comment 2014-12-26 03:47:27 +09:00
Hajime Hoshi
843b0d8621 Remove the struct DrawImageAt; Add a method (*Image).DrawImageAt 2014-12-26 03:46:25 +09:00
Hajime Hoshi
b69dec3f1e Bug fix: comment 2014-12-26 03:24:57 +09:00
Hajime Hoshi
cdc84567ca Rename At -> DrawImageAt 2014-12-26 03:00:40 +09:00
Hajime Hoshi
f2fbd991d2 Rename ImageDrawOptions -> DrawImageOptions (#43) 2014-12-26 01:39:48 +09:00
Hajime Hoshi
389b2b75f2 Remove currentVBO 2014-12-26 01:19:08 +09:00
Hajime Hoshi
c156cb1e66 Use VBO for vertices, tex coords (#2) 2014-12-26 01:11:42 +09:00
Hajime Hoshi
7f6e440d97 Use VBO for indices (#2) 2014-12-25 23:16:18 +09:00
Hajime Hoshi
5780e9020c Fix ui.go to use defer and call glfw.SwapInterval 2014-12-25 18:42:55 +09:00
Hajime Hoshi
f603859b01 Fix image_test.go to check if something is rendered 2014-12-25 18:42:55 +09:00
Hajime Hoshi
90665944b9 Rename ImageDrawOption -> ImageDrawOptions 2014-12-24 23:38:04 +09:00
Hajime Hoshi
742c7ad854 Fix comments 2014-12-24 23:35:01 +09:00
Hajime Hoshi
cb510fafa7 Hide matrix members 2014-12-24 23:26:04 +09:00
Hajime Hoshi
494d07387d Remove DrawImage.+ function (#41) 2014-12-24 23:17:58 +09:00
Hajime Hoshi
b39df50979 Introduce ImageDrawOption 2014-12-24 22:46:00 +09:00
Hajime Hoshi
aee86f7e9c Bug fix: Remove '+build ignore' at drawimage.go 2014-12-24 11:06:09 +09:00
Hajime Hoshi
373371d1b2 Change license comments style to use magic comments (magic comments like +build should be placed before a general comment) 2014-12-24 11:04:10 +09:00
Hajime Hoshi
bde8d9763f Modify readme 2014-12-24 10:00:09 +09:00
Hajime Hoshi
6b0ae1cd18 Resize gophers.jpg 2014-12-24 09:52:17 +09:00
Hajime Hoshi
642d77bb11 Rename example/image -> example/rotate 2014-12-24 09:31:23 +09:00
Hajime Hoshi
5b2c775e68 Initial commit _docs 2014-12-24 04:34:56 +09:00
Hajime Hoshi
6ef60e6c39 Use DrawImage in tests 2014-12-24 03:08:31 +09:00
Hajime Hoshi
6cb8dac860 Add DrawImage* functions (#40) 2014-12-24 03:05:45 +09:00
Hajime Hoshi
a0cff8961b Modify docs 2014-12-24 02:08:03 +09:00
Hajime Hoshi
604c0d095f Remove ImagePart 2014-12-24 02:04:56 +09:00
Hajime Hoshi
84f2e8aad2 Remove ebiten.Rect (#37) 2014-12-24 01:15:16 +09:00
Hajime Hoshi
ddd43370bc Add RecordScreenAsGIF (#23) 2014-12-24 00:08:22 +09:00
Hajime Hoshi
341f7a56cc Update readme 2014-12-23 04:46:58 +09:00
Hajime Hoshi
27fe3d9ab8 Reduce depndencies on go-gl/gl 2014-12-23 04:32:36 +09:00
Hajime Hoshi
3e576c97f3 Modify docs 2014-12-23 04:10:28 +09:00
Hajime Hoshi
0fe8387a5a Simplify examples 2014-12-23 02:43:26 +09:00
Hajime Hoshi
b3581d1c7a Bug fix: Need to clear the default framebuffer 2014-12-23 02:35:17 +09:00
Hajime Hoshi
16180a8925 Add TestComposition 2014-12-23 02:25:05 +09:00
Hajime Hoshi
30adcdba94 Add test for NewImageFromImage 2014-12-23 01:51:16 +09:00