four walls complete
git-svn-id: svn://anubis/dwscr/trunk@95 5bef9df8-b654-44bb-925b-0ff18baa8f8c
This commit is contained in:
parent
8e0ed9b3f3
commit
2b43b1c10f
@ -13,7 +13,7 @@ using namespace std;
|
|||||||
|
|
||||||
#define SIZE 5
|
#define SIZE 5
|
||||||
#define STRIDE_MULTIPLIER 1.0;
|
#define STRIDE_MULTIPLIER 1.0;
|
||||||
#define ZOOM 10.0
|
#define ZOOM 14.0
|
||||||
|
|
||||||
LightBounceBox::LightBounceBox(LogoBox * lb,
|
LightBounceBox::LightBounceBox(LogoBox * lb,
|
||||||
float x, float y, float z,
|
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
|
new LogoBox(), x, y, -half_size, 0, 0, rot ? 90.0 : 0
|
||||||
);
|
);
|
||||||
m_boxes.push_back(box);
|
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;
|
rot = !rot;
|
||||||
|
x += box_stride;
|
||||||
}
|
}
|
||||||
y += box_stride;
|
y += box_stride;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user