Project

General

Profile

« Previous | Next » 

Revision 93718f1b

Added by Leszek Koltunski 8 months ago

Important bugfix for the shape of concave cubit walls!

View differences:

src/main/java/org/distorted/library/mesh/MeshBase.java
674 674
       }
675 675
     }
676 676

  
677
///////////////////////////////////////////////////////////////////////////////////////////////////
678
/**
679
 * Not part of public API, do not document (public only because has to be used from the main package)
680
 *
681
 * @y.exclude
682
 */
683
   public void printVertex(int v)
684
     {
685
     String pos = "\n pos: (" + mVertAttribs1[VERT1_ATTRIBS*v +POS_ATTRIB  ] + ","
686
                              + mVertAttribs1[VERT1_ATTRIBS*v +POS_ATTRIB+1] + ","
687
                              + mVertAttribs1[VERT1_ATTRIBS*v +POS_ATTRIB+2];
688

  
689
     String nor = "\n nor: (" + mVertAttribs1[VERT1_ATTRIBS*v +NOR_ATTRIB  ] + ","
690
                              + mVertAttribs1[VERT1_ATTRIBS*v +NOR_ATTRIB+1] + ","
691
                              + mVertAttribs1[VERT1_ATTRIBS*v +NOR_ATTRIB+2];
692

  
693
     String tex = "\n tex: (" + mVertAttribs2[VERT2_ATTRIBS*v +TEX_ATTRIB  ] + ","
694
                              + mVertAttribs2[VERT2_ATTRIBS*v +TEX_ATTRIB+1];
695

  
696
     DistortedLibrary.logMessage("MeshBase: first vertex:"+pos+nor+tex);
697
     }
698

  
677 699
///////////////////////////////////////////////////////////////////////////////////////////////////
678 700
/**
679 701
 * Not part of public API, do not document (public only because has to be used from the main package)

Also available in: Unified diff