Root/ptrude/extrude.h

1/*
2 * extrude.h - Perform the extrusion
3 *
4 * Written 2011 by Werner Almesberger
5 * Copyright 2011 by Werner Almesberger
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 */
12
13#ifndef EXTRUDE_H
14#define EXTRUDE_H
15
16struct point {
17    double x, y, z;
18};
19
20
21void extrude(const struct path *path, const struct path *shape,
22    double r, double d,
23    void (*face)(void *data, struct point a, struct point b, struct point c),
24    void *data);
25
26#endif /* !EXTRUDE_H */
27

Archive Download this file

Branches:
master



interactive