summaryrefslogtreecommitdiff
path: root/meme/plane.h
blob: fb810f330dd36d7d9214b38a0e19f56a775b66d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * plane.h - Intersect mesh with planes
 *
 * Written 2014 by Werner Almesberger
 * Copyright 2014 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 PLANE_H
#define	PLANE_H

#include "mesh.h"


struct point {
	int x, y;
};


struct point *plane_xz(int y, unsigned *n);
struct point *plane_yz(int x, unsigned *n);

#endif /* !PLANE_H */