Root/
| 1 | /* |
| 2 | * solid.h - Data structure and handling of a solid made of two opposing faces |
| 3 | * |
| 4 | * Written 2010 by Werner Almesberger |
| 5 | * Copyright 2010 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 SOLID_H |
| 14 | #define SOLID_H |
| 15 | |
| 16 | #include <stdio.h> |
| 17 | |
| 18 | |
| 19 | struct solid { |
| 20 | struct face *a, *b; |
| 21 | double dist; |
| 22 | }; |
| 23 | |
| 24 | |
| 25 | void povray(const char *file_name, const char *name, const struct solid *s); |
| 26 | |
| 27 | #endif /* !SOLID_H */ |
| 28 |
Branches:
master
