Project

General

Profile

« Previous | Next » 

Revision e642b4aa

Added by Leszek Koltunski almost 8 years ago

Vertex3D almost finished - there's still a problem when parts of Cubes get culled if the Object gets Deformed or Distorted to the left (curiously only the 'left' direction seems to trigger this!)

View differences:

src/main/java/org/distorted/examples/vertex3d/Vertex3DActivity.java
388 388

  
389 389
  private void computeSink()
390 390
    {
391
    fsinkA = (sinkA>= 50 ? sinkA-49 : 1/(51-sinkA));
391
    fsinkA = (sinkA>= 50 ? 0.18f*sinkA-8.0f : 0.018f*sinkA + 0.1f);
392 392

  
393 393
    Vertex3DRenderer.setSink( fsinkA );
394 394
    }

Also available in: Unified diff