X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=_Internals.pde;h=8b9163d5068b402f9b28d02f534b3e4e3614ceec;hb=254d34c098c28b006e88a830cc0d00c60b37f3f7;hp=7dcf1757e8e9b138969df17d62dfe44fe5e5123f;hpb=e0cea6008a7bdfb19012ed8f7ef1213cb553783d;p=SugarCubes.git diff --git a/_Internals.pde b/_Internals.pde index 7dcf175..8b9163d 100644 --- a/_Internals.pde +++ b/_Internals.pde @@ -220,7 +220,8 @@ void draw() { } void drawCube(Cube c) { - drawBox(c.x, c.y, c.z, c.rx, c.ry, c.rz, Cube.EDGE_WIDTH, Cube.EDGE_HEIGHT, Cube.EDGE_WIDTH, Cube.CHANNEL_WIDTH); + float in = .15; + drawBox(c.x+in, c.y+in, c.z+in, c.rx, c.ry, c.rz, Cube.EDGE_WIDTH-in*2, Cube.EDGE_HEIGHT-in*2, Cube.EDGE_WIDTH-in*2, Cube.CHANNEL_WIDTH-in); } void drawBox(float x, float y, float z, float rx, float ry, float rz, float xd, float yd, float zd, float sw) {