src/bezier_curve.h@01537fbe096e
src/bezier_curve.h
Tue, 11 Apr 2023 22:51:47 +0300
- author
- Teemu Piippo <teemu.s.piippo@gmail.com>
- date
- Tue, 11 Apr 2023 22:51:47 +0300
- changeset 378
- 01537fbe096e
- parent 373
-
e34d6a30b96d
- permissions
- -rw-r--r--
remove now unneeded type alias
#ifndef BEZIER_CURVE_H
#define BEZIER_CURVE_H
#include "src/basics.h"
struct bezier_curve
{
glm::vec3 points[4];
};
glm::vec3 point_on_bezier_curve(const struct bezier_curve& curve, float t);
glm::vec3 derivate_on_bezier_curve(const struct bezier_curve& curve, float t);
#endif // BEZIER_CURVE_H