Project

General

Profile

« Previous | Next » 

Revision c5b1451b

Added by Leszek Koltunski almost 8 years ago

Remove the 'invert' option from DistortedProjection - this was making the DistortedNode-based apps not show the Objects, because the winding of triangles was wrong.
Now however the DistortedNode based stuff is inverted top-down :)

View differences:

src/main/java/org/distorted/library/Distorted.java
91 91
  static int mTextureCoordH;  // pass in model texture coordinate information.
92 92
  static int mProgramH;       // This is a handle to our shading program.  
93 93

  
94
  static DistortedProjection mProjection = new DistortedProjection(false);
94
  static DistortedProjection mProjection = new DistortedProjection();
95 95
  static float mFOV = 60.0f;
96 96
  
97 97
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff