3 Copyright (C) 2010 celeron55, Perttu Ahola <celeron55@gmail.com>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License along
16 with this program; if not, write to the Free Software Foundation, Inc.,
17 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 (c) 2010 Perttu Ahola <celeron55@gmail.com>
26 const v3s16 g_26dirs[26] =
28 // +right, +top, +back
29 v3s16( 0, 0, 1), // back
30 v3s16( 0, 1, 0), // top
31 v3s16( 1, 0, 0), // right
32 v3s16( 0, 0,-1), // front
33 v3s16( 0,-1, 0), // bottom
34 v3s16(-1, 0, 0), // left
36 v3s16(-1, 1, 0), // top left
37 v3s16( 1, 1, 0), // top right
38 v3s16( 0, 1, 1), // top back
39 v3s16( 0, 1,-1), // top front
40 v3s16(-1, 0, 1), // back left
41 v3s16( 1, 0, 1), // back right
42 v3s16(-1, 0,-1), // front left
43 v3s16( 1, 0,-1), // front right
44 v3s16(-1,-1, 0), // bottom left
45 v3s16( 1,-1, 0), // bottom right
46 v3s16( 0,-1, 1), // bottom back
47 v3s16( 0,-1,-1), // bottom front
49 v3s16(-1, 1, 1), // top back-left
50 v3s16( 1, 1, 1), // top back-right
51 v3s16(-1, 1,-1), // top front-left
52 v3s16( 1, 1,-1), // top front-right
53 v3s16(-1,-1, 1), // bottom back-left
54 v3s16( 1,-1, 1), // bottom back-right
55 v3s16(-1,-1,-1), // bottom front-left
56 v3s16( 1,-1,-1), // bottom front-right