Ignore:
Timestamp:
Jan 17, 2013, 9:49:29 PM (7 years ago)
Author:
touky
Message:

Added CSG v0.001a : not optimized, too much operation makes it slow. triangle count is not optimized.
Useage : "...[.... csg*]" equals "current mesh -CSG- the mesh in the braces".
Keywords : CsgUnion<csgu>, CsgSubstract<csgs>, CsgAnd<csga>, CsgXor<csgx>
TODO : cleanup useless code.
TODO : Some bugs are still present, some face that disappear should not.
TODO : Correct epsilon useage (see geometry files).
TODO : Coplanar face are not handled -at all-.
TODO : Vertex count goes through the roof in case of a Xor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/easymesh/easymesh-scanner.l

    r2183 r2226  
    33// Lol Engine
    44//
    5 // Copyright: (c) 2010-2012 Sam Hocevar <sam@hocevar.net>
    6 //            (c) 2009-2012 Cédric Lecacheur <jordx@free.fr>
    7 //            (c) 2009-2012 Benjamin Huet <huet.benjamin@gmail.com>
     5// Copyright: (c) 2010-2013 Sam Hocevar <sam@hocevar.net>
     6//            (c) 2009-2013 Cédric Lecacheur <jordx@free.fr>
     7//            (c) 2009-2013 Benjamin "Touky" Huet <huet.benjamin@gmail.com>
    88//   This program is free software; you can redistribute it and/or
    99//   modify it under the terms of the Do What The Fuck You Want To
     
    7171my    { return token::T_MIRRORY; }
    7272mz    { return token::T_MIRRORZ; }
     73
     74csgu  { return token::T_CSGUNION; }
     75csgs  { return token::T_CSGSUBSTRACT; }
     76csga  { return token::T_CSGAND; }
     77csgx  { return token::T_CSGXOR; }
    7378
    7479ab    { return token::T_BOX; }
Note: See TracChangeset for help on using the changeset viewer.