Root/slicer/stl.h

1/*
2 * stl.h - STL file reading
3 *
4 * Written 2014-2015 by Werner Almesberger
5 * Copyright 2014-2015 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
14#ifndef STL_H
15#define STL_H
16
17#include <stdio.h>
18
19
20struct v {
21    float x, y, z;
22};
23
24
25void stl_load_file(FILE *file, void (*facet)(struct v f[3]));
26void stl_load(const char *name, void (*facet)(struct v f[3]));
27
28#endif /* !STL_H */
29

Archive Download this file

Branches:
master



interactive