Revision e50f49b6
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/examples/earth/EarthRenderer.java | ||
---|---|---|
203 | 203 |
float y = (float) sinLAT /2.0f; |
204 | 204 |
float z = (float)(cosLON*cosLAT)/2.0f; |
205 | 205 |
|
206 |
Static3D center = new Static3D( (0.5f+x)*mObjWidth, (0.5f+y)*mObjHeight, (0.5f+z)*mObjDepth);
|
|
206 |
Static3D center = new Static3D( (x)*mObjWidth, (y)*mObjHeight, (z)*mObjDepth);
|
|
207 | 207 |
|
208 | 208 |
switch(name) |
209 | 209 |
{ |
Also available in: Unified diff
All apps converted to the new V&F center schema!