| 92 | } |
| 93 | |
| 94 | void PrimitiveModule::createTriangle(Primitive* p,int a,int b,int c) |
| 95 | { |
| 96 | Polygon& pg=p->createPolygon(); |
| 97 | pg.append(a); |
| 98 | pg.append(b); |
| 99 | pg.append(c); |
| 100 | } |
| 101 | |
| 102 | void PrimitiveModule::createQuad(Primitive* p,int a,int b,int c,int d) |
| 103 | { |