diff options
Diffstat (limited to 'vertex.c')
-rw-r--r-- | vertex.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -43,6 +43,16 @@ dupvertex(Vertex *v) return nv; } +void +swapvertex(Vertex *a, Vertex *b) +{ + Vertex t; + + t = *a; + *a = *b; + *b = t; +} + /* * linear attribute interpolation */ |