1
0
mirror of git://projects.qi-hardware.com/ben-scans.git synced 2024-11-22 06:15:58 +02:00
ben-scans/solidify/solid.h
Werner Almesberger 01d8e411f3 Use the project name to disambiguate names in POV-Ray output.
- solidify/main.pov: change name from "Part" to "Part_batcvr"
- solidify/solid.h (povray), solidify/solid.c (sanitize, povray): use the
  project name as prefix for PGM files and a suffix for the object name
- solidify/solidify.c (main): pass the project's basename to povray()
2010-09-24 21:28:42 -03:00

25 lines
588 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 char *name, const struct solid *s);
#endif /* !SOLID_H */