Project

General

Profile

« Previous | Next » 

Revision 99093c35

Added by Leszek Koltunski 6 months ago

remove 'MESH_NICE'

View differences:

src/main/java/org/distorted/examples/meshfile/MeshFileRenderer.java
60 60
import static org.distorted.examples.meshfile.MeshFileActivity.POLYGON;
61 61
import static org.distorted.examples.meshfile.MeshFileActivity.PROCEDURAL;
62 62
import static org.distorted.examples.meshfile.MeshFileActivity.TRIANGLE;
63
import static org.distorted.objectlib.main.TwistyObject.MESH_NICE;
64 63

  
65 64
///////////////////////////////////////////////////////////////////////////////////////////////////
66 65

  
......
457 456
      FactoryCubit factory = FactoryCubit.getInstance();
458 457
      factory.clear();
459 458
      factory.createNewFaceTransform(shape,outer);
460
      mMesh = factory.createRoundedSolid(shape,face,null,MESH_NICE,numFaces);
459
      mMesh = factory.createRoundedSolid(shape,face,null,numFaces);
461 460

  
462 461
      int numEff = mMesh.getNumEffComponents();
463 462
      for(int i=0; i<numEff; i++) mMesh.setEffectAssociation(i, 0, i);

Also available in: Unified diff