2010-09-25 10:46:16 +03:00
|
|
|
/*
|
|
|
|
* solid.h - Data structure and handling of a solid made of two opposing faces
|
|
|
|
*
|
|
|
|
* Written 2010 by Werner Almesberger
|
|
|
|
* Copyright 2010 by Werner Almesberger
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SOLID_H
|
|
|
|
#define SOLID_H
|
|
|
|
|
2010-09-27 05:37:03 +03:00
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
|
2010-09-25 10:46:16 +03:00
|
|
|
struct solid {
|
|
|
|
struct face *a, *b;
|
|
|
|
double dist;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2010-09-27 05:37:03 +03:00
|
|
|
void povray(const char *file_name, const char *name, const struct solid *s);
|
2010-09-25 10:46:16 +03:00
|
|
|
|
|
|
|
#endif /* !SOLID_H */
|