dbf_amiga
diff src/revol.h @ 0:87dfe0e10235
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 31 Aug 2015 07:38:37 +0300 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/revol.h Mon Aug 31 07:38:37 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_