diff --git a/ss/LightBounce.cc b/ss/LightBounce.cc index f63013a..2ca6ab3 100644 --- a/ss/LightBounce.cc +++ b/ss/LightBounce.cc @@ -13,7 +13,7 @@ using namespace std; #define SIZE 5 #define STRIDE_MULTIPLIER 1.0; -#define ZOOM 10.0 +#define ZOOM 14.0 LightBounceBox::LightBounceBox(LogoBox * lb, float x, float y, float z, @@ -61,8 +61,21 @@ LightBounce::LightBounce(SSMain * _SSMain) : SSMode(_SSMain) new LogoBox(), x, y, -half_size, 0, 0, rot ? 90.0 : 0 ); m_boxes.push_back(box); - x += box_stride; + box = new LightBounceBox( + new LogoBox(), half_size, y, x, 0, 90.0, rot ? 0 : 90.0 + ); + m_boxes.push_back(box); + box = new LightBounceBox( + new LogoBox(), x, y, half_size, 0, 180.0, rot ? 90.0 : 0 + ); + m_boxes.push_back(box); + box = new LightBounceBox( + new LogoBox(), -half_size, y, x, 0, 270.0, rot ? 0 : 90.0 + ); + m_boxes.push_back(box); + rot = !rot; + x += box_stride; } y += box_stride; }