Revision 4888e97c
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/object/RubikObject.java | ||
---|---|---|
73 | 73 |
|
74 | 74 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
75 | 75 |
|
76 |
RubikObject(int size, Static4D quatCur, Static4D quatAcc, DistortedTexture nodeTexture, MeshRectangles nodeMesh, DistortedEffects nodeEffects) |
|
76 |
RubikObject(int size, int fov, Static4D quatCur, Static4D quatAcc, DistortedTexture nodeTexture, MeshRectangles nodeMesh, DistortedEffects nodeEffects)
|
|
77 | 77 |
{ |
78 | 78 |
super(nodeTexture,nodeEffects,nodeMesh); |
79 | 79 |
|
... | ... | |
122 | 122 |
attach(mCubits[i].mNode); |
123 | 123 |
} |
124 | 124 |
|
125 |
setProjection(30, 0.1f);
|
|
125 |
setProjection(fov, 0.1f);
|
|
126 | 126 |
} |
127 | 127 |
|
128 | 128 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Major restructuring around making it possible to include different kinds of RubikObjects in the UI.