mirror of
git://projects.qi-hardware.com/cae-tools.git
synced 2024-12-23 20:21:09 +02:00
12f5aa2188
- solidify/Makefile (pov, disp, main.pov): call the main POV-Ray file $(NAME).pov, not main.pov - solidify/Makefile: generate $(NAME).inc - solidify/solid.h, solidify/povray.c (povray_face, povray): accept file name as argument and write to the specified file instead of stdout - solidify/povray.c (height_field): added file error handling - solidify/povray.c (height_field, povray): removed useless matrix argument - solidify/solidify.c (usage, main): new invocation "-p project" to generate POV-Ray output. Removed old isatty() hack. - solidify/Makefile: updated to use solidify -p to generate POV-Ray output
28 lines
632 B
C
28 lines
632 B
C
/*
|
|
* 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
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
struct solid {
|
|
struct face *a, *b;
|
|
double dist;
|
|
};
|
|
|
|
|
|
void povray(const char *file_name, const char *name, const struct solid *s);
|
|
|
|
#endif /* !SOLID_H */
|