Project

General

Profile

« Previous | Next » 

Revision 04a4ece1

Added by Leszek Koltunski over 2 years ago

Fix projection matrix with which the puzzles get rendered: make it independent of the aspect ratio of the underlying surface.

View differences:

src/main/java/org/distorted/objectlib/main/ShapeTetrahedron.java
35 35
         };
36 36

  
37 37
  static final int NUM_FACES = 4;
38
  static final int FOV = 60;
38
  static final int FOV = 40;
39 39
  static final float RATIO = 0.89f;
40 40

  
41 41
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff