tavli

diff src/revol.h @ 14:283eb6e9f0a3

scenery
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 28 Jun 2015 07:44:23 +0300
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/revol.h	Sun Jun 28 07:44:23 2015 +0300
     1.3 @@ -0,0 +1,15 @@
     1.4 +#ifndef REVOL_H_
     1.5 +#define REVOL_H_
     1.6 +
     1.7 +#include "vmath/vmath.h"
     1.8 +
     1.9 +struct BezCurve {
    1.10 +	int numcp;
    1.11 +	vec2_t *cp;
    1.12 +	float scale;
    1.13 +};
    1.14 +
    1.15 +Vector2 bezier_revol(float u, float v, void *cls);
    1.16 +Vector2 bezier_revol_normal(float u, float v, void *cls);
    1.17 +
    1.18 +#endif	// REVOL_H_