Project

General

Profile

« Previous | Next » 

Revision 47d98cd5

Added by Leszek Koltunski over 2 years ago

Convert the Ivy corner cubit to the new, 'universal' cubit creation method.

This forces deep changes to 'createRoundSolid' and the underlying 'MeshPolygon' class to make them support arbitrary Polygon 'centers of face convexity'.

Reason: the faces of this cubit are concave and such default 'center of face convexity' (which by default used to be (0,0)) turned to lie outside the face - which produces strange visual artifacts.

View differences:

src/main/java/org/distorted/objects/TwistyBandagedAbstract.java
277 277
                                                bands, bandIndexes,
278 278
                                                corners, cornerIndexes,
279 279
                                                centers, centerIndexes,
280
                                                getNumCubitFaces() );
280
                                                getNumCubitFaces(), null );
281 281
        }
282 282
      }
283 283

  

Also available in: Unified diff