Ignore:
Timestamp:
Jun 21, 2012, 12:39:30 AM (9 years ago)
Author:
touky
Message:

Mesh : Added negative chamfer on AppendBox support, so chamfer doesn't increase boxes size.
Lolnament : Small tweaks mirroring what's said above.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/orbital/mesh.h

    r1442 r1504  
    407407    void AppendBox(vec3 const &size, float chamf, bool smooth)
    408408    {
     409                if (chamf < 0.0f)
     410                {
     411                        AppendBox(size + vec3(chamf * 2.0f), -chamf, smooth);
     412                        return;
     413                }
    409414        int vbase = m_vert.Count();
    410415        int qibase = m_quadidx.Count();
Note: See TracChangeset for help on using the changeset viewer.