Ignore:
Timestamp:
Feb 5, 2013, 12:18:18 AM (7 years ago)
Author:
touky
Message:

easymesh : CSG operation is now handled with a safe enum.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/easymesh/easymesh-parser.y

    r2318 r2350  
    4949%token T_TRANSLATEZ T_ROTATEZ T_TAPERZ T_SCALEZ T_MIRRORZ
    5050%token T_TRANSLATE T_SCALE T_TOGGLESCALEWINDING T_RADIALJITTER
    51 %token T_CSGUNION T_CSGSUBSTRACT T_CSGAND T_CSGXOR
     51%token T_CSGUNION T_CSGSUBSTRACT T_CSGSUBSTRACTLOSS T_CSGAND T_CSGXOR
    5252%token T_CHAMFER
    5353
     
    140140  | T_CSGUNION             { mc.m_mesh.CsgUnion(); }
    141141  | T_CSGSUBSTRACT         { mc.m_mesh.CsgSubstract(); }
     142  | T_CSGSUBSTRACTLOSS     { mc.m_mesh.CsgSubstractLoss(); }
    142143  | T_CSGAND               { mc.m_mesh.CsgAnd(); }
    143144  | T_CSGXOR               { mc.m_mesh.CsgXor(); }
Note: See TracChangeset for help on using the changeset viewer.