Revision 4c9ca251
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objectlib/objects/TwistyDiamond.java | ||
---|---|---|
28 | 28 |
import org.distorted.library.type.Static4D; |
29 | 29 |
|
30 | 30 |
import org.distorted.objectlib.helpers.ObjectFaceShape; |
31 |
import org.distorted.objectlib.touchcontrol.TouchControlHexahedron; |
|
31 | 32 |
import org.distorted.objectlib.touchcontrol.TouchControlOctahedron; |
32 | 33 |
import org.distorted.objectlib.main.ObjectControl; |
33 | 34 |
import org.distorted.objectlib.main.ObjectType; |
... | ... | |
204 | 205 |
|
205 | 206 |
public float[] getDist3D(int[] numLayers) |
206 | 207 |
{ |
207 |
return null; |
|
208 |
return TouchControlOctahedron.D3D; |
|
209 |
} |
|
210 |
|
|
211 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
212 |
|
|
213 |
public Static3D[] getFaceAxis() |
|
214 |
{ |
|
215 |
return TouchControlOctahedron.FACE_AXIS; |
|
208 | 216 |
} |
209 | 217 |
|
210 | 218 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Add the getFaceAxis() API and fill up the getDist3D() API.