ld33_umonster

diff src/revol.h @ 6:3b4460b34d43

progress
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 23 Aug 2015 05:37:09 +0300
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/revol.h	Sun Aug 23 05:37:09 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_