Project

General

Profile

« Previous | Next » 

Revision 0579fe3a

Added by Leszek Koltunski over 5 years ago

Some fixes for Sphere; still not completely ok though.

View differences:

src/main/java/org/distorted/examples/inflate/InflateRenderer.java
40 40

  
41 41
class InflateRenderer implements GLSurfaceView.Renderer
42 42
{
43
    private static final float FOV = 30.0f;
44
    private static final float NEAR = 0.1f;
45

  
43 46
    private GLSurfaceView mView;
44 47
    private DistortedTexture mTexture;
45 48
    private DistortedEffects mEffects;
......
87 90

  
88 91
      mScreen = new DistortedScreen();
89 92
      mScreen.glClearColor(1.0f,1.0f,1.0f,0.0f);
93
      mScreen.setProjection(FOV, NEAR);
90 94
      }
91 95

  
92 96
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff