tavli
annotate src/revol.h @ 23:3e6430028d54
slot highlghting
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 08 Jul 2015 02:31:36 +0300 |
parents | |
children |
rev | line source |
---|---|
nuclear@14 | 1 #ifndef REVOL_H_ |
nuclear@14 | 2 #define REVOL_H_ |
nuclear@14 | 3 |
nuclear@14 | 4 #include "vmath/vmath.h" |
nuclear@14 | 5 |
nuclear@14 | 6 struct BezCurve { |
nuclear@14 | 7 int numcp; |
nuclear@14 | 8 vec2_t *cp; |
nuclear@14 | 9 float scale; |
nuclear@14 | 10 }; |
nuclear@14 | 11 |
nuclear@14 | 12 Vector2 bezier_revol(float u, float v, void *cls); |
nuclear@14 | 13 Vector2 bezier_revol_normal(float u, float v, void *cls); |
nuclear@14 | 14 |
nuclear@14 | 15 #endif // REVOL_H_ |