mirror of
git://projects.qi-hardware.com/ben-scans.git
synced 2024-11-22 09:50:38 +02:00
37e840fa77
- solidify/Makefile: added solid.o - solidify/solid.h, solidify.c (height_field, povray): output the part as the intersection of two height fields - solidify/solidify.c (main): generate POV-Ray output if stdout is redirected - solidify/Makefile (run, pov, disp): targets to run a test setup, render it, and display the result - solidify/main.pov: simple scene showing the test part
25 lines
569 B
C
25 lines
569 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
|
|
|
|
struct solid {
|
|
struct face *a, *b;
|
|
double dist;
|
|
};
|
|
|
|
|
|
void povray(const struct solid *s);
|
|
|
|
#endif /* SOLID_H */
|