Mercurial > hg > Game > Cerium
comparison Renderer/Test/universe.cc @ 1366:ba6c080bf9a4 draft
work scale api.
author | Yutaka_Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 18 Jan 2012 18:56:04 +0900 |
parents | 57c3b08b76b5 |
children |
comparison
equal
deleted
inserted
replaced
1353:df50c95267ba | 1366:ba6c080bf9a4 |
---|---|
69 earth->set_move_collision(earth_move, earth_collision); | 69 earth->set_move_collision(earth_move, earth_collision); |
70 //earth->xyz[0] = screen_w / 2; | 70 //earth->xyz[0] = screen_w / 2; |
71 earth->translateX(screen_w / 2); | 71 earth->translateX(screen_w / 2); |
72 //earth->xyz[1] = screen_h / 2; | 72 //earth->xyz[1] = screen_h / 2; |
73 earth->translateY(screen_h / 2); | 73 earth->translateY(screen_h / 2); |
74 earth->scaleIt(3,1,3); | |
74 earth->stack_xyz[0] = 3.0f; | 75 earth->stack_xyz[0] = 3.0f; |
75 earth->stack_xyz[1] = 3.0f; | 76 earth->stack_xyz[1] = 3.0f; |
76 | 77 |
77 moon = sgroot->createSceneGraph("Moon"); | 78 moon = sgroot->createSceneGraph("Moon"); |
78 moon->set_move_collision(moon_move, moon_collision); | 79 moon->set_move_collision(moon_move, moon_collision); |