Hajime Hoshi
|
26358f3e63
Revert lines' vetices (float64 -> int)
|
9 years ago |
Hajime Hoshi
|
f0d40b4e1f
Revert rectangles' vetices (float64 -> int)
|
9 years ago |
Hajime Hoshi
|
1659e9abab
Bug fix: Line's vertices should be moved by 0.5
|
9 years ago |
Hajime Hoshi
|
683ffafe8d
Bug fix: image.Pixels didn't work on WebGL
|
9 years ago |
Hajime Hoshi
|
7835f5cb2e
Add image.DrawRect / DrawRects (leaving some bugs)
|
9 years ago |
Hajime Hoshi
|
5ff2b8697f
Bug fix: comment
|
9 years ago |
Hajime Hoshi
|
8c15b57d58
Add image.DrawLine / DrawLines
|
9 years ago |
Hajime Hoshi
|
22e6996f74
Remove rectVertexQuads
|
9 years ago |
Hajime Hoshi
|
887e2fc675
Add image.DrawRect; Change Rects.Points -> Rects.Rect
|
9 years ago |
Hajime Hoshi
|
8564ba8541
Use (un)signed short vertices (#90)
|
9 years ago |
Hajime Hoshi
|
155be5a88d
Add Rect.Color
|
9 years ago |
Hajime Hoshi
|
25cf2dab22
sprites: Speed up: use float64 as often as possible
|
9 years ago |
Hajime Hoshi
|
0328b049d0
Add image.DrawRects (experimental)
|
9 years ago |
Hajime Hoshi
|
01dbc515b5
Remove innerImage
|
9 years ago |
Hajime Hoshi
|
21455a146d
Refactoring: Add imageparts.go
|
9 years ago |
Hajime Hoshi
|
0332b8d5ed
Bug fix: image comment
|
9 years ago |
Hajime Hoshi
|
4eaba93c73
Bug fix: image can't draw itself (#45)
|
10 years ago |
Hajime Hoshi
|
b69c526613
Update comment
|
10 years ago |
Hajime Hoshi
|
2be0aa7f0c
Fix comment
|
10 years ago |
Hajime Hoshi
|
f697501531
Use ImageParts
|
10 years ago |
Hajime Hoshi
|
cdc29210db
Introduce ImageParts
|
10 years ago |
Hajime Hoshi
|
2f02a0a223
Avoid copying
|
10 years ago |
Hajime Hoshi
|
13a94d3446
Avoid type switch
|
10 years ago |
Hajime Hoshi
|
1117862d19
Avoid copying for performance
|
10 years ago |
Hajime Hoshi
|
449bc7931d
Change receiver ColorM.Element and GeoM.Element to pointers (performance issue)
|
10 years ago |
Hajime Hoshi
|
3d01084a2a
Hide structs in internal/ui
|
10 years ago |
Hajime Hoshi
|
96f5315c49
Add internal/ui module
|
10 years ago |
Hajime Hoshi
|
5f4aa33edf
Reduce currentUI usages
|
10 years ago |
Hajime Hoshi
|
e10bcb3dd8
Move some methods to opengl.Context
|
10 years ago |
Hajime Hoshi
|
dc6a153c65
Add opengl.Context.NewShader
|
10 years ago |