Revision 4c9ca251
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objectlib/objects/TwistySquare.java | ||
---|---|---|
27 | 27 |
import org.distorted.library.type.Static3D; |
28 | 28 |
import org.distorted.library.type.Static4D; |
29 | 29 |
import org.distorted.objectlib.main.ShapeHexahedron; |
30 |
import org.distorted.objectlib.touchcontrol.TouchControlHexahedron; |
|
30 | 31 |
|
31 | 32 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
32 | 33 |
|
... | ... | |
147 | 148 |
|
148 | 149 |
public float[] getDist3D(int[] numLayers) |
149 | 150 |
{ |
150 |
return null; |
|
151 |
return TouchControlHexahedron.D3D; |
|
152 |
} |
|
153 |
|
|
154 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
155 |
|
|
156 |
public Static3D[] getFaceAxis() |
|
157 |
{ |
|
158 |
return TouchControlHexahedron.FACE_AXIS; |
|
151 | 159 |
} |
152 | 160 |
|
153 | 161 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Add the getFaceAxis() API and fill up the getDist3D() API.