Revision 418aa554
Added by Leszek Koltunski almost 4 years ago
src/main/java/org/distorted/objects/RubikObjectMovement.java | ||
---|---|---|
42 | 42 |
|
43 | 43 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
44 | 44 |
|
45 |
RubikObjectMovement(Static3D[] axis, int numFacesPerAxis, float distance3D, float distance2D)
|
|
45 |
RubikObjectMovement(Static3D[] axis, float numFacesPerAxis, float distance3D, float distance2D)
|
|
46 | 46 |
{ |
47 | 47 |
mPoint = new float[3]; |
48 | 48 |
mCamera= new float[3]; |
... | ... | |
53 | 53 |
|
54 | 54 |
mAxis = axis; |
55 | 55 |
mNumAxis = mAxis.length; |
56 |
mNumFacesPerAxis = numFacesPerAxis;
|
|
56 |
mNumFacesPerAxis = (int)numFacesPerAxis; // TODO
|
|
57 | 57 |
mDistanceCenterFace3D = distance3D; // distance from the center of the object to each of its faces |
58 | 58 |
mDistanceCenterFace2D = distance2D; // distance from the center of a face to its edge |
59 | 59 |
|
Also available in: Unified diff
Beginnings of support for a new Object: the Dino.