Hajime Hoshi
|
0bd0a4dbc2
|
Rename image.FillRect -> DrawFilledRect (FillRect is confusing with Fill)
|
2015-01-18 04:19:38 +09:00 |
|
Hajime Hoshi
|
26358f3e63
|
Revert lines' vetices (float64 -> int)
|
2015-01-17 23:33:57 +09:00 |
|
Hajime Hoshi
|
f0d40b4e1f
|
Revert rectangles' vetices (float64 -> int)
|
2015-01-17 23:31:09 +09:00 |
|
Hajime Hoshi
|
1659e9abab
|
Bug fix: Line's vertices should be moved by 0.5
|
2015-01-17 23:04:19 +09:00 |
|
Hajime Hoshi
|
683ffafe8d
|
Bug fix: image.Pixels didn't work on WebGL
|
2015-01-17 19:06:58 +09:00 |
|
Hajime Hoshi
|
7835f5cb2e
|
Add image.DrawRect / DrawRects (leaving some bugs)
|
2015-01-17 15:46:56 +09:00 |
|
Hajime Hoshi
|
5ff2b8697f
|
Bug fix: comment
|
2015-01-17 15:01:04 +09:00 |
|
Hajime Hoshi
|
8c15b57d58
|
Add image.DrawLine / DrawLines
|
2015-01-17 14:17:42 +09:00 |
|
Hajime Hoshi
|
22e6996f74
|
Remove rectVertexQuads
|
2015-01-17 03:51:21 +09:00 |
|
Hajime Hoshi
|
887e2fc675
|
Add image.DrawRect; Change Rects.Points -> Rects.Rect
|
2015-01-17 03:46:00 +09:00 |
|
Hajime Hoshi
|
8564ba8541
|
Use (un)signed short vertices (#90)
|
2015-01-16 10:37:26 +09:00 |
|
Hajime Hoshi
|
155be5a88d
|
Add Rect.Color
|
2015-01-16 01:57:10 +09:00 |
|
Hajime Hoshi
|
25cf2dab22
|
sprites: Speed up: use float64 as often as possible
|
2015-01-14 23:58:34 +09:00 |
|
Hajime Hoshi
|
0328b049d0
|
Add image.DrawRects (experimental)
|
2015-01-13 10:36:19 +09:00 |
|
Hajime Hoshi
|
01dbc515b5
|
Remove innerImage
|
2015-01-12 19:54:25 +09:00 |
|
Hajime Hoshi
|
21455a146d
|
Refactoring: Add imageparts.go
|
2015-01-12 18:41:06 +09:00 |
|
Hajime Hoshi
|
0332b8d5ed
|
Bug fix: image comment
|
2015-01-11 04:20:28 +09:00 |
|
Hajime Hoshi
|
4eaba93c73
|
Bug fix: image can't draw itself (#45)
|
2015-01-06 23:50:02 +09:00 |
|
Hajime Hoshi
|
b69c526613
|
Update comment
|
2015-01-05 23:55:40 +09:00 |
|
Hajime Hoshi
|
2be0aa7f0c
|
Fix comment
|
2015-01-05 10:08:54 +09:00 |
|
Hajime Hoshi
|
f697501531
|
Use ImageParts
|
2015-01-05 10:08:00 +09:00 |
|
Hajime Hoshi
|
cdc29210db
|
Introduce ImageParts
|
2015-01-05 09:32:27 +09:00 |
|
Hajime Hoshi
|
2f02a0a223
|
Avoid copying
|
2015-01-03 17:07:01 +09:00 |
|
Hajime Hoshi
|
13a94d3446
|
Avoid type switch
|
2015-01-03 15:52:02 +09:00 |
|
Hajime Hoshi
|
1117862d19
|
Avoid copying for performance
|
2015-01-03 14:23:31 +09:00 |
|
Hajime Hoshi
|
449bc7931d
|
Change receiver ColorM.Element and GeoM.Element to pointers (performance issue)
|
2015-01-03 01:54:12 +09:00 |
|
Hajime Hoshi
|
3d01084a2a
|
Hide structs in internal/ui
|
2015-01-02 03:25:31 +09:00 |
|
Hajime Hoshi
|
96f5315c49
|
Add internal/ui module
|
2015-01-02 02:13:27 +09:00 |
|
Hajime Hoshi
|
5f4aa33edf
|
Reduce currentUI usages
|
2015-01-01 04:30:10 +09:00 |
|
Hajime Hoshi
|
e10bcb3dd8
|
Move some methods to opengl.Context
|
2014-12-31 19:27:41 +09:00 |
|
Hajime Hoshi
|
dc6a153c65
|
Add opengl.Context.NewShader
|
2014-12-31 16:12:13 +09:00 |
|
Hajime Hoshi
|
fbcd04cda8
|
Add opengl.Framebuffer.SetAsViewport
|
2014-12-31 15:22:15 +09:00 |
|
Hajime Hoshi
|
450a8da267
|
Rename internal/opengl -> internal/graphics
|
2014-12-31 02:55:17 +09:00 |
|
Hajime Hoshi
|
957b4d392f
|
Refactoring: Hide some functions of opengl
|
2014-12-31 02:06:08 +09:00 |
|
Hajime Hoshi
|
22035e79fe
|
Reduce panics (#16)
|
2014-12-29 00:21:40 +09:00 |
|
Hajime Hoshi
|
ccd8fcac3d
|
Fix comments
|
2014-12-27 23:29:56 +09:00 |
|
Hajime Hoshi
|
325e05259a
|
Introduce ImagePart again
|
2014-12-27 17:37:31 +09:00 |
|
Hajime Hoshi
|
7849a68cd0
|
Remove DrawImageAt
|
2014-12-26 23:01:47 +09:00 |
|
Hajime Hoshi
|
ffab448d40
|
Rename ColorGeometry -> ColorM, GeometryMatrix -> GeoM (#27)
|
2014-12-26 22:50:25 +09:00 |
|
Hajime Hoshi
|
8ae96875c9
|
Bug fix: matrices' elements should be copied when assigning
|
2014-12-26 11:43:31 +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
|
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
|
90665944b9
|
Rename ImageDrawOption -> ImageDrawOptions
|
2014-12-24 23:38: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 |
|