Commit Graph

27 Commits

Author SHA1 Message Date
Hajime Hoshi
969554b10b Refactoring: define identity matrix variable 2014-12-27 17:11:05 +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
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
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
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
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
43988399ee Bug fix: ColorMatrix should treat straight alpha 2014-12-22 23:08:13 +09:00
Hajime Hoshi
99434fa9d3 Bug fix: Consider color.Color.RGBA returns alpha-premultiplied values 2014-12-22 01:05:21 +09:00
Hajime Hoshi
3a9a7fed87 Rename Texture -> Image (#29) 2014-12-21 02:55:15 +09:00
Hajime Hoshi
1c460d80c3 Add examples/image 2014-12-17 17:10:38 +09:00
Hajime Hoshi
46a9901be8 Revert the algorithm of RotateHue 2014-12-15 10:55:40 +09:00
Hajime Hoshi
3cf449c52c Change the algorithm of RotateHue 2014-12-15 09:37:44 +09:00
Hajime Hoshi
c3e909676c Bug fix: Translate -> TranslateColor 2014-12-15 02:06:01 +09:00
Hajime Hoshi
6eaec92a4e Change ColorMatrix's methods to functions 2014-12-15 02:04:33 +09:00
Hajime Hoshi
d5f8e79c88 Add RotateHue 2014-12-15 01:47:38 +09:00
Hajime Hoshi
e55f53cfab Fix the comment 2014-12-14 22:24:17 +09:00
Hajime Hoshi
ca5bd564a6 Add comments (to pass golint) 2014-12-14 22:05:44 +09:00
Hajime Hoshi
d264d7a06b Remove dependencies on ebiten from shader 2014-12-13 14:53:54 +09:00
Hajime Hoshi
225f1fa7b1 Add license comments (#18) 2014-12-09 23:16:04 +09:00
Hajime Hoshi
164b320170 Unify packages to ebiten (#19) 2014-12-09 22:19:30 +09:00