diff options
author | Dylan Simon <dylan@dylex.net> | 2009-10-04 17:39:07 -0400 |
---|---|---|
committer | James Cloos <cloos@jhcloos.com> | 2009-10-05 18:06:17 -0400 |
commit | dc0f730a4a49f0e436a0a915955997b07bbf56e0 (patch) | |
tree | d04a73beb4e4086c4ba586d056c8199614e83d2d /EyesP.h | |
parent | 7cc3aa8ce30990e12e7b102f61dfcaaf8baa4d16 (diff) |
Cleanup and simplify calculation and drawing
By transforming the eyes’s space when calculating where to place the
pupils, the code effectively assumed that EYE_HEIGHT == EYE_WIDTH.
Make this assumption explicit and remove calculations which
are therefore unnecessary.
Clean up related code and, consequently, reduced redraw time
and tearing.
Signed-off-by: Dylan Simon <dylan@dylex.net>
Signed-off-by: James Cloos <cloos@jhcloos.com>
Diffstat (limited to 'EyesP.h')
0 files changed, 0 insertions, 0 deletions