Mercurial > hg > Members > kono > Cerium
changeset 903:04bf33e8e324
[aquarium] direction bug fix
author | game@zeus.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Sat, 17 Jul 2010 01:14:50 +0900 |
parents | fb23a3cce848 |
children | e622f27c2808 |
files | Renderer/Test/aquarium.cc |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Renderer/Test/aquarium.cc Sat Jul 17 01:07:30 2010 +0900 +++ b/Renderer/Test/aquarium.cc Sat Jul 17 01:14:50 2010 +0900 @@ -167,11 +167,11 @@ if (pad->right.isHold() || pad->left.isHold()) { if (pad->right.isHold()) { node->xyz[0] += 5.0f; - node->angle[0] = 0.0f; + node->angle[1] = 0.0f; flag = 1; } else if (pad->left.isHold()) { node->xyz[0] -= 5.0f; - node->angle[0] = 180.0f; + node->angle[1] = 180.0f; flag = 1; } }