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/ShapeOctahedron.java
37 37
         };
38 38

  
39 39
  static final int NUM_FACES = 8;
40
  static final int FOV = 60;
40
  static final int FOV = 40;
41 41
  static final float RATIO = 0.68f;
42 42

  
43 43
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff