Project

General

Profile

« Previous | Next » 

Revision 627e0ea2

Added by Leszek Koltunski about 4 years ago

Moving the Vertex and Fragment centers of effect to the center of the Mesh.

View differences:

src/main/java/org/distorted/examples/surfaceview/RenderThread.java
78 78
    mSurfaceHolder = holder;
79 79
    mView = view;
80 80

  
81
    Static3D pLeft = new Static3D( 90, 108, 0);
82
    Static3D pRight= new Static3D(176, 111, 0);
81
    Static3D pLeft = new Static3D( 90-320/2, 108-366/2,0);
82
    Static3D pRight= new Static3D(176-320/2, 111-366/2,0);
83 83

  
84 84
    Static4D rLeft = new Static4D(-10, 10, 0,25);
85 85
    Static4D rRight= new Static4D( 10,  5, 0,25);

Also available in: Unified diff