Ignore:
Timestamp:
Sep 4, 2012, 2:08:19 PM (8 years ago)
Author:
sam
Message:

easymesh: first shot at a simple, flat shaded torus.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/easymesh/easymesh.h

    r1784 r1875  
    7474    void AppendCapsule(int ndivisions, float h, float r);
    7575    void AppendSphere(int ndivisions, vec3 const &size);
     76    void AppendTorus(int ndivisions, float r1, float r2);
    7677    void AppendBox(vec3 const &size, float chamf = 0.f);
    7778    void AppendSmoothChamfBox(vec3 const &size, float chamf);
Note: See TracChangeset for help on using the changeset viewer.