1 |
29b82486
|
Leszek Koltunski
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
2 |
|
|
// Copyright 2021 Leszek Koltunski //
|
3 |
|
|
// //
|
4 |
|
|
// This file is part of Magic Cube. //
|
5 |
|
|
// //
|
6 |
|
|
// Magic Cube is free software: you can redistribute it and/or modify //
|
7 |
|
|
// it under the terms of the GNU General Public License as published by //
|
8 |
|
|
// the Free Software Foundation, either version 2 of the License, or //
|
9 |
|
|
// (at your option) any later version. //
|
10 |
|
|
// //
|
11 |
|
|
// Magic Cube is distributed in the hope that it will be useful, //
|
12 |
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
|
13 |
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
|
14 |
|
|
// GNU General Public License for more details. //
|
15 |
|
|
// //
|
16 |
|
|
// You should have received a copy of the GNU General Public License //
|
17 |
|
|
// along with Magic Cube. If not, see <http://www.gnu.org/licenses/>. //
|
18 |
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
19 |
|
|
|
20 |
|
|
package org.distorted.objectlib.objects;
|
21 |
|
|
|
22 |
|
|
import android.content.res.Resources;
|
23 |
|
|
|
24 |
|
|
import org.distorted.library.main.DistortedEffects;
|
25 |
|
|
import org.distorted.library.main.DistortedTexture;
|
26 |
|
|
import org.distorted.library.mesh.MeshSquare;
|
27 |
ecf3d6e3
|
Leszek Koltunski
|
import org.distorted.library.type.Static3D;
|
28 |
29b82486
|
Leszek Koltunski
|
import org.distorted.library.type.Static4D;
|
29 |
|
|
|
30 |
|
|
import org.distorted.objectlib.R;
|
31 |
8005e762
|
Leszek Koltunski
|
import org.distorted.objectlib.main.ObjectType;
|
32 |
198c5bf0
|
Leszek Koltunski
|
import org.distorted.objectlib.helpers.ScrambleState;
|
33 |
29b82486
|
Leszek Koltunski
|
|
34 |
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
35 |
|
|
|
36 |
|
|
public class TwistyBandagedEvil extends TwistyBandagedAbstract
|
37 |
|
|
{
|
38 |
a57e6870
|
Leszek Koltunski
|
public TwistyBandagedEvil(int[] numL, Static4D quat, Static3D move, DistortedTexture texture, MeshSquare mesh,
|
39 |
e7daa161
|
Leszek Koltunski
|
DistortedEffects effects, Resources res, int surfaceW, int surfaceH)
|
40 |
29b82486
|
Leszek Koltunski
|
{
|
41 |
e7daa161
|
Leszek Koltunski
|
super(numL, quat, move, texture, mesh, effects, res, surfaceW, surfaceH);
|
42 |
29b82486
|
Leszek Koltunski
|
}
|
43 |
|
|
|
44 |
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
45 |
|
|
|
46 |
|
|
protected ScrambleState[] getScrambleStates()
|
47 |
|
|
{
|
48 |
|
|
if( mStates==null )
|
49 |
|
|
{
|
50 |
|
|
mStates = new ScrambleState[]
|
51 |
|
|
{
|
52 |
|
|
new ScrambleState( new int[][] {{2, 1, 1,2,-1, 2} , {2, 2,142,2,-1, 28} , {0, 1,114} }), //0
|
53 |
|
|
new ScrambleState( new int[][] {{2, 2, 2} , {2,-1,143} , {} }),
|
54 |
|
|
new ScrambleState( new int[][] {{2, 2, 1} , {} , {0, 1, 3,0, 2, 47} }),
|
55 |
|
|
new ScrambleState( new int[][] {{2, 1, 4} , {2, 1,132,2,-1,131} , {0, 1, 47,0,-1, 2} }),
|
56 |
|
|
new ScrambleState( new int[][] {{2,-1, 3} , {2, 1, 5,2,-1, 6} , {} }),
|
57 |
|
|
new ScrambleState( new int[][] {{} , {2, 2, 6,2,-1, 4} , {0, 1, 51} }),
|
58 |
|
|
new ScrambleState( new int[][] {{} , {2, 1, 4,2, 2, 5} , {2, 2, 7,2,-1, 80} }),
|
59 |
|
|
new ScrambleState( new int[][] {{2, 2, 8} , {} , {2, 1, 80,2, 2, 6} }),
|
60 |
|
|
new ScrambleState( new int[][] {{2, 2, 7} , {} , {0,-1, 9} }),
|
61 |
|
|
new ScrambleState( new int[][] {{2, 1, 10,2, 2, 11,2,-1, 12}, {} , {0, 1, 8} }),
|
62 |
|
|
new ScrambleState( new int[][] {{2, 1, 11,2, 2, 12,2,-1, 9}, {} , {0,-1,118} }), //10
|
63 |
|
|
new ScrambleState( new int[][] {{2, 1, 12,2, 2, 9,2,-1, 10}, {} , {2, 1, 77} }),
|
64 |
|
|
new ScrambleState( new int[][] {{2, 1, 9,2, 2, 10,2,-1, 11}, {} , {2, 1, 13,2, 2,143} }),
|
65 |
|
|
new ScrambleState( new int[][] {{2, 1, 14,2, 2, 15,2,-1, 16}, {2, 1, 57,2,-1, 58} , {2, 1,143,2,-1, 12} }),
|
66 |
|
|
new ScrambleState( new int[][] {{2, 1, 15,2, 2, 16,2,-1, 13}, {} , {2, 1, 41} }),
|
67 |
|
|
new ScrambleState( new int[][] {{2, 1, 16,2, 2, 13,2,-1, 14}, {} , {0, 1, 82} }),
|
68 |
|
|
new ScrambleState( new int[][] {{2, 1, 13,2, 2, 14,2,-1, 15}, {2, 1, 17,2,-1, 18} , {0, 1,111,0,-1,115} }),
|
69 |
|
|
new ScrambleState( new int[][] {{} , {2, 2, 18,2,-1, 16} , {0,-1,139} }),
|
70 |
|
|
new ScrambleState( new int[][] {{2, 1, 19,2,-1, 20} , {2, 1, 16,2, 2, 17} , {2, 1,142} }),
|
71 |
|
|
new ScrambleState( new int[][] {{2, 2, 20,2,-1, 18} , {} , {2, 1, 39,2, 2,140} }),
|
72 |
|
|
new ScrambleState( new int[][] {{2, 1, 18,2, 2, 19} , {2, 1, 21} , {} }), //20
|
73 |
|
|
new ScrambleState( new int[][] {{} , {2,-1, 20} , {0,-1, 22} }),
|
74 |
|
|
new ScrambleState( new int[][] {{2, 2, 23,2,-1, 24} , {} , {0, 1, 21} }),
|
75 |
|
|
new ScrambleState( new int[][] {{2, 1, 24,2, 2, 22} , {} , {2, 1, 92} }),
|
76 |
|
|
new ScrambleState( new int[][] {{2, 1, 22,2,-1, 23} , {} , {0, 1, 25} }),
|
77 |
|
|
new ScrambleState( new int[][] {{2, 1, 26,2, 2, 27} , {} , {0,-1, 24} }),
|
78 |
|
|
new ScrambleState( new int[][] {{2, 1, 27,2,-1, 25} , {2, 1, 74} , {} }),
|
79 |
|
|
new ScrambleState( new int[][] {{2, 2, 25,2,-1, 26} , {} , {2, 1, 28,2, 2,124} }),
|
80 |
|
|
new ScrambleState( new int[][] {{2, 1, 29,2, 2, 30,2,-1, 31}, {2,-1,142} , {2, 1,124,2,-1, 27} }),
|
81 |
|
|
new ScrambleState( new int[][] {{2, 1, 30,2, 2, 31,2,-1, 28}, {} , {2, 1,141} }),
|
82 |
|
|
new ScrambleState( new int[][] {{2, 1, 31,2, 2, 28,2,-1, 29}, {} , {0, 1,130} }), //30
|
83 |
|
|
new ScrambleState( new int[][] {{2, 1, 28,2, 2, 29,2,-1, 30}, {2, 1, 32,2,-1, 33} , {0, 1, 89,0,-1, 90} }),
|
84 |
|
|
new ScrambleState( new int[][] {{} , {2, 2, 33,2,-1, 31} , {0,-1,137} }),
|
85 |
|
|
new ScrambleState( new int[][] {{2, 1, 34} , {2, 1, 31,2, 2, 32} , {} }),
|
86 |
|
|
new ScrambleState( new int[][] {{2,-1, 33} , {} , {2, 1, 35} }),
|
87 |
|
|
new ScrambleState( new int[][] {{} , {2,-1, 36} , {2,-1, 34} }),
|
88 |
|
|
new ScrambleState( new int[][] {{} , {2, 1, 35} , {2,-1, 37} }),
|
89 |
|
|
new ScrambleState( new int[][] {{} , {2, 1, 38,2, 2, 93} , {2, 1, 36} }),
|
90 |
|
|
new ScrambleState( new int[][] {{2, 1, 39} , {2, 1, 93,2,-1, 37} , {} }),
|
91 |
|
|
new ScrambleState( new int[][] {{2,-1, 38} , {2, 1, 40,2,-1, 64} , {2, 1,140,2,-1, 19} }),
|
92 |
|
|
new ScrambleState( new int[][] {{2, 1, 41,2,-1, 42} , {2, 2, 64,2,-1, 39} , {} }), //40
|
93 |
|
|
new ScrambleState( new int[][] {{2, 2, 42,2,-1, 40} , {} , {2,-1, 14} }),
|
94 |
|
|
new ScrambleState( new int[][] {{2, 1, 40,2, 2, 41} , {} , {0, 1, 43,0, 2,128} }),
|
95 |
|
|
new ScrambleState( new int[][] {{2, 1, 44,2,-1, 45} , {2, 1,114,2, 2,113,2,-1, 86}, {0, 1,128,0,-1, 42} }),
|
96 |
|
|
new ScrambleState( new int[][] {{2, 2, 45,2,-1, 43} , {2, 1, 48,2,-1,108} , {2,-1, 81} }),
|
97 |
|
|
new ScrambleState( new int[][] {{2, 1, 43,2, 2, 44} , {} , {0, 1, 46} }),
|
98 |
|
|
new ScrambleState( new int[][] {{} , {2, 1, 47} , {0,-1, 45} }),
|
99 |
|
|
new ScrambleState( new int[][] {{} , {2,-1, 46} , {0, 2, 2,0,-1, 3} }),
|
100 |
|
|
new ScrambleState( new int[][] {{2,-1, 49} , {2, 2,108,2,-1, 44} , {} }),
|
101 |
|
|
new ScrambleState( new int[][] {{2, 1, 48} , {} , {0, 1, 50} }),
|
102 |
|
|
new ScrambleState( new int[][] {{} , {2, 1, 51,2, 2, 52} , {0,-1, 49} }), //50
|
103 |
|
|
new ScrambleState( new int[][] {{} , {2, 1, 52,2,-1, 50} , {0,-1, 5} }),
|
104 |
|
|
new ScrambleState( new int[][] {{} , {2, 2, 50,2,-1, 51} , {2,-1, 53} }),
|
105 |
|
|
new ScrambleState( new int[][] {{} , {2, 1, 54,2, 2, 55} , {2, 1, 52} }),
|
106 |
|
|
new ScrambleState( new int[][] {{} , {2, 1, 55,2,-1, 53} , {0,-1,104} }),
|
107 |
|
|
new ScrambleState( new int[][] {{} , {2, 2, 53,2,-1, 54} , {0, 2, 56,0,-1, 65} }),
|
108 |
|
|
new ScrambleState( new int[][] {{2, 1, 57} , {} , {0, 1, 65,0, 2, 55} }),
|
109 |
|
|
new ScrambleState( new int[][] {{2,-1, 56} , {2, 2, 58,2,-1, 13} , {} }),
|
110 |
|
|
new ScrambleState( new int[][] {{} , {2, 1, 13,2, 2, 57} , {2,-1, 59} }),
|
111 |
|
|
new ScrambleState( new int[][] {{2, 1, 60} , {} , {2, 1, 58} }),
|
112 |
|
|
new ScrambleState( new int[][] {{2,-1, 59} , {} , {2, 1, 61} }), //60
|
113 |
|
|
new ScrambleState( new int[][] {{2,-1, 62} , {} , {2,-1, 60} }),
|
114 |
|
|
new ScrambleState( new int[][] {{2, 1, 61} , {2,-1, 63} , {} }),
|
115 |
|
|
new ScrambleState( new int[][] {{} , {2, 1, 62} , {2, 1, 64} }),
|
116 |
|
|
new ScrambleState( new int[][] {{} , {2, 1, 39,2, 2, 40} , {2,-1, 63} }),
|
117 |
|
|
new ScrambleState( new int[][] {{2, 1, 66,2,-1, 67} , {2, 1, 78,2, 2, 79,2,-1, 80}, {0, 1, 55,0,-1, 56} }),
|
118 |
|
|
new ScrambleState( new int[][] {{2, 2, 67,2,-1, 65} , {2,-1,107} , {} }),
|
119 |
|
|
new ScrambleState( new int[][] {{2, 1, 65,2, 2, 66} , {} , {0, 1, 68} }),
|
120 |
|
|
new ScrambleState( new int[][] {{} , {2, 1, 69} , {0,-1, 67} }),
|
121 |
|
|
new ScrambleState( new int[][] {{} , {2,-1, 68} , {0,-1, 70} }),
|
122 |
|
|
new ScrambleState( new int[][] {{} , {2,-1, 71} , {0, 1, 69} }), //70
|
123 |
|
|
new ScrambleState( new int[][] {{2,-1, 72} , {2, 1, 70} , {} }),
|
124 |
|
|
new ScrambleState( new int[][] {{2, 1, 71} , {} , {0,-1, 73} }),
|
125 |
|
|
new ScrambleState( new int[][] {{2, 1, 74,2, 2, 75} , {} , {0, 1, 72} }),
|
126 |
|
|
new ScrambleState( new int[][] {{2, 1, 75,2,-1, 73} , {2,-1, 26} , {0, 1, 83,0,-1,138} }),
|
127 |
|
|
new ScrambleState( new int[][] {{2, 2, 73,2,-1, 74} , {2, 1, 76,2,-1, 77} , {} }),
|
128 |
|
|
new ScrambleState( new int[][] {{} , {2, 2, 77,2,-1, 75} , {0, 1, 78} }),
|
129 |
|
|
new ScrambleState( new int[][] {{} , {2, 1, 75,2, 2, 76} , {2,-1, 11} }),
|
130 |
|
|
new ScrambleState( new int[][] {{} , {2, 1, 79,2, 2, 80,2,-1, 65}, {0,-1, 76} }),
|
131 |
|
|
new ScrambleState( new int[][] {{} , {2, 1, 80,2, 2, 65,2,-1, 78}, {2,-1,110} }),
|
132 |
|
|
new ScrambleState( new int[][] {{2, 1, 81,2,-1, 82} , {2, 1, 65,2, 2, 78,2,-1, 79}, {2, 1, 6,2,-1, 7} }), //80
|
133 |
|
|
new ScrambleState( new int[][] {{2, 2, 82,2,-1, 80} , {} , {2, 1, 44} }),
|
134 |
|
|
new ScrambleState( new int[][] {{2, 1, 80,2, 2, 81} , {2, 1, 83,2,-1, 84} , {0,-1, 15} }),
|
135 |
|
|
new ScrambleState( new int[][] {{} , {2, 2, 84,2,-1, 82} , {0, 2,138,0,-1, 74} }),
|
136 |
|
|
new ScrambleState( new int[][] {{2, 1, 85} , {2, 1, 82,2, 2, 83} , {} }),
|
137 |
|
|
new ScrambleState( new int[][] {{2,-1, 84} , {} , {2, 1, 86,2, 2,119} }),
|
138 |
|
|
new ScrambleState( new int[][] {{2, 1, 87,2,-1, 88} , {2, 1, 43,2, 2,114,2,-1,113}, {2, 1,119,2,-1, 85} }),
|
139 |
|
|
new ScrambleState( new int[][] {{2, 2, 88,2,-1, 86} , {} , {2, 1, 94} }),
|
140 |
|
|
new ScrambleState( new int[][] {{2, 1, 86,2, 2, 87} , {2, 1, 89} , {} }),
|
141 |
|
|
new ScrambleState( new int[][] {{} , {2,-1, 88} , {0, 2, 90,0,-1, 31} }),
|
142 |
|
|
new ScrambleState( new int[][] {{2, 1, 91,2, 2, 92} , {} , {0, 1, 31,0, 2, 89} }), //90
|
143 |
|
|
new ScrambleState( new int[][] {{2, 1, 92,2,-1, 90} , {} , {0, 1, 93} }),
|
144 |
|
|
new ScrambleState( new int[][] {{2, 2, 90,2,-1, 91} , {} , {2,-1, 23} }),
|
145 |
|
|
new ScrambleState( new int[][] {{} , {2, 2, 37,2,-1, 38} , {0,-1, 91} }),
|
146 |
|
|
new ScrambleState( new int[][] {{} , {2,-1, 95} , {2,-1, 87} }),
|
147 |
|
|
new ScrambleState( new int[][] {{} , {2, 1, 94} , {2,-1, 96} }),
|
148 |
|
|
new ScrambleState( new int[][] {{} , {2, 1, 97} , {2, 1, 95} }),
|
149 |
|
|
new ScrambleState( new int[][] {{2, 1, 98} , {2,-1, 96} , {} }),
|
150 |
|
|
new ScrambleState( new int[][] {{2,-1, 97} , {} , {2,-1, 99} }),
|
151 |
|
|
new ScrambleState( new int[][] {{2, 2,100,2,-1,101} , {} , {2, 1, 98} }),
|
152 |
|
|
new ScrambleState( new int[][] {{2, 1,101,2, 2, 99} , {2, 1,111,2,-1,112} , {} }), //100
|
153 |
|
|
new ScrambleState( new int[][] {{2, 1, 99,2,-1,100} , {2, 1,102} , {2, 1,108,2,-1,109} }),
|
154 |
|
|
new ScrambleState( new int[][] {{2, 1,103,2,-1,104} , {2,-1,101} , {} }),
|
155 |
|
|
new ScrambleState( new int[][] {{2, 2,104,2,-1,102} , {} , {2,-1,105} }),
|
156 |
|
|
new ScrambleState( new int[][] {{2, 1,102,2, 2,103} , {} , {0, 1, 54} }),
|
157 |
|
|
new ScrambleState( new int[][] {{2,-1,106} , {} , {2, 1,103} }),
|
158 |
|
|
new ScrambleState( new int[][] {{2, 1,105} , {} , {2, 1,107} }),
|
159 |
|
|
new ScrambleState( new int[][] {{} , {2, 1, 66} , {2,-1,106} }),
|
160 |
|
|
new ScrambleState( new int[][] {{} , {2, 1, 44,2, 2, 48} , {2, 2,109,2,-1,101} }),
|
161 |
|
|
new ScrambleState( new int[][] {{2,-1,110} , {} , {2, 1,101,2, 2,108} }),
|
162 |
|
|
new ScrambleState( new int[][] {{2, 1,109} , {} , {2, 1, 79} }), //110
|
163 |
|
|
new ScrambleState( new int[][] {{} , {2, 2,112,2,-1,100} , {0, 2,115,0,-1, 16} }),
|
164 |
|
|
new ScrambleState( new int[][] {{} , {2, 1,100,2, 2,111} , {2, 1,113} }),
|
165 |
|
|
new ScrambleState( new int[][] {{} , {2, 1, 86,2, 2, 43,2,-1,114}, {2,-1,112} }),
|
166 |
|
|
new ScrambleState( new int[][] {{} , {2, 1,113,2, 2, 86,2,-1, 43}, {0,-1, 0} }),
|
167 |
|
|
new ScrambleState( new int[][] {{2, 2,116} , {} , {0, 1, 16,0, 2,111} }),
|
168 |
|
|
new ScrambleState( new int[][] {{2, 2,115} , {} , {2,-1,117} }),
|
169 |
|
|
new ScrambleState( new int[][] {{2, 1,118} , {} , {2, 1,116} }),
|
170 |
|
|
new ScrambleState( new int[][] {{2,-1,117} , {} , {0, 1, 10} }),
|
171 |
|
|
new ScrambleState( new int[][] {{} , {2, 1,120,2, 2,121,2,-1,122}, {2, 2, 85,2,-1, 86} }),
|
172 |
|
|
new ScrambleState( new int[][] {{} , {2, 1,121,2, 2,122,2,-1,119}, {2,-1,129} }), //120
|
173 |
|
|
new ScrambleState( new int[][] {{} , {2, 1,122,2, 2,119,2,-1,120}, {0, 1,125} }),
|
174 |
|
|
new ScrambleState( new int[][] {{} , {2, 1,119,2, 2,120,2,-1,121}, {0,-1,123} }),
|
175 |
|
|
new ScrambleState( new int[][] {{} , {2, 2,124} , {0, 1,122} }),
|
176 |
|
|
new ScrambleState( new int[][] {{} , {2, 2,123} , {2, 2, 27,2,-1, 28} }),
|
177 |
|
|
new ScrambleState( new int[][] {{} , {2, 1,126} , {0,-1,121} }),
|
178 |
|
|
new ScrambleState( new int[][] {{} , {2,-1,125} , {2,-1,127} }),
|
179 |
|
|
new ScrambleState( new int[][] {{} , {2, 2,128} , {2, 1,126} }),
|
180 |
|
|
new ScrambleState( new int[][] {{} , {2, 2,127} , {0, 2, 42,0,-1, 43} }),
|
181 |
|
|
new ScrambleState( new int[][] {{2, 2,130,2,-1,131} , {} , {2, 1,120} }),
|
182 |
|
|
new ScrambleState( new int[][] {{2, 1,131,2, 2,129} , {} , {0,-1, 30} }), //130
|
183 |
|
|
new ScrambleState( new int[][] {{2, 1,129,2,-1,130} , {2, 1, 3,2, 2,132} , {} }),
|
184 |
|
|
new ScrambleState( new int[][] {{} , {2, 2,131,2,-1, 3} , {0,-1,133} }),
|
185 |
|
|
new ScrambleState( new int[][] {{} , {2,-1,134} , {0, 1,132} }),
|
186 |
|
|
new ScrambleState( new int[][] {{2,-1,135} , {2, 1,133} , {} }),
|
187 |
|
|
new ScrambleState( new int[][] {{2, 1,134} , {} , {0,-1,136} }),
|
188 |
|
|
new ScrambleState( new int[][] {{2, 1,137} , {} , {0, 1,135} }),
|
189 |
|
|
new ScrambleState( new int[][] {{2,-1,136} , {} , {0, 1, 32} }),
|
190 |
|
|
new ScrambleState( new int[][] {{2, 1,139} , {} , {0, 1, 74,0, 2, 83} }),
|
191 |
|
|
new ScrambleState( new int[][] {{2,-1,138} , {} , {0, 1, 17} }),
|
192 |
|
|
new ScrambleState( new int[][] {{} , {2, 1,141} , {2, 2, 19,2,-1, 39} }), //140
|
193 |
|
|
new ScrambleState( new int[][] {{} , {2,-1,140} , {2,-1, 29} }),
|
194 |
|
|
new ScrambleState( new int[][] {{} , {2, 1, 28} , {2,-1, 18} }),
|
195 |
|
|
new ScrambleState( new int[][] {{} , {2, 1, 1} , {2, 2, 12,2,-1, 13} })
|
196 |
|
|
};
|
197 |
|
|
}
|
198 |
|
|
|
199 |
|
|
return mStates;
|
200 |
|
|
}
|
201 |
|
|
|
202 |
4e1dc313
|
Leszek Koltunski
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
203 |
|
|
|
204 |
a57e6870
|
Leszek Koltunski
|
protected int getResource(int[] numLayers)
|
205 |
4e1dc313
|
Leszek Koltunski
|
{
|
206 |
|
|
return R.raw.ban4;
|
207 |
|
|
}
|
208 |
|
|
|
209 |
29b82486
|
Leszek Koltunski
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
210 |
|
|
|
211 |
|
|
float[][] getPositions()
|
212 |
|
|
{
|
213 |
|
|
if( POSITIONS==null )
|
214 |
|
|
{
|
215 |
|
|
POSITIONS = new float[][]
|
216 |
|
|
{
|
217 |
|
|
{ 1.0f, 1.0f, -1.0f},
|
218 |
|
|
{-1.0f, -1.0f, 0.0f, -1.0f, 0.0f, 0.0f, 0.0f, -1.0f, 0.0f, 0.0f, 0.0f, 0.0f},
|
219 |
|
|
{-1.0f, 1.0f, -1.0f, 0.0f, 1.0f, -1.0f},
|
220 |
|
|
{-1.0f, 0.0f, -1.0f, 0.0f, 0.0f, -1.0f},
|
221 |
|
|
{-1.0f, -1.0f, -1.0f, 0.0f, -1.0f, -1.0f},
|
222 |
|
|
{-1.0f, 1.0f, 0.0f, -1.0f, 1.0f, 1.0f},
|
223 |
|
|
{ 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 1.0f},
|
224 |
|
|
{ 1.0f, 1.0f, 0.0f, 1.0f, 1.0f, 1.0f},
|
225 |
|
|
{-1.0f, -1.0f, 1.0f, -1.0f, 0.0f, 1.0f},
|
226 |
|
|
{ 0.0f, -1.0f, 1.0f, 0.0f, 0.0f, 1.0f},
|
227 |
|
|
{ 1.0f, -1.0f, 1.0f, 1.0f, 0.0f, 1.0f},
|
228 |
|
|
{ 1.0f, -1.0f, 0.0f, 1.0f, 0.0f, 0.0f},
|
229 |
|
|
{ 1.0f, -1.0f, -1.0f, 1.0f, 0.0f, -1.0f}
|
230 |
|
|
};
|
231 |
|
|
}
|
232 |
|
|
return POSITIONS;
|
233 |
|
|
}
|
234 |
|
|
|
235 |
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
236 |
|
|
|
237 |
|
|
int[] getQuatIndices()
|
238 |
|
|
{
|
239 |
|
|
if( QUAT_INDICES==null )
|
240 |
|
|
{
|
241 |
|
|
QUAT_INDICES = new int[] { 0, 1, 0, 0, 0, 2, 2, 2, 3, 3, 3, 3, 3 };
|
242 |
|
|
}
|
243 |
|
|
|
244 |
|
|
return QUAT_INDICES;
|
245 |
|
|
}
|
246 |
|
|
|
247 |
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
248 |
|
|
// PUBLIC API
|
249 |
|
|
|
250 |
a57e6870
|
Leszek Koltunski
|
public ObjectType intGetObjectType(int[] numLayers)
|
251 |
61aa85e4
|
Leszek Koltunski
|
{
|
252 |
8005e762
|
Leszek Koltunski
|
return ObjectType.BAN4_3;
|
253 |
61aa85e4
|
Leszek Koltunski
|
}
|
254 |
|
|
|
255 |
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
256 |
|
|
|
257 |
a57e6870
|
Leszek Koltunski
|
public int getObjectName(int[] numLayers)
|
258 |
29b82486
|
Leszek Koltunski
|
{
|
259 |
|
|
return R.string.bandaged_evil;
|
260 |
|
|
}
|
261 |
|
|
|
262 |
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
263 |
|
|
|
264 |
a57e6870
|
Leszek Koltunski
|
public int getInventor(int[] numLayers)
|
265 |
29b82486
|
Leszek Koltunski
|
{
|
266 |
|
|
return R.string.bandaged_evil_inventor;
|
267 |
|
|
}
|
268 |
|
|
|
269 |
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
270 |
|
|
|
271 |
a57e6870
|
Leszek Koltunski
|
public int getComplexity(int[] numLayers)
|
272 |
29b82486
|
Leszek Koltunski
|
{
|
273 |
|
|
return 8;
|
274 |
|
|
}
|
275 |
|
|
}
|