supertux
Static Public Member Functions | List of all members
Bezier Class Reference

Static Public Member Functions

static Vector get_point (const Vector &p1, const Vector &p2, const Vector &p3, const Vector &p4, float t)
 
static Vector get_point_raw (const Vector &p1, const Vector &p2, const Vector &p3, const Vector &p4, float t)
 
static float get_length (const Vector &p1, const Vector &p2, const Vector &p3, const Vector &p4, int steps=100)
 
static Vector get_point_at_length (const Vector &p1, const Vector &p2, const Vector &p3, const Vector &p4, float length, int steps=100)
 
static Vector get_point_by_length (const Vector &p1, const Vector &p2, const Vector &p3, const Vector &p4, float t)
 
static void draw_curve (DrawingContext &context, const Vector &p1, const Vector &p2, const Vector &p3, const Vector &p4, int steps, Color color, int layer)
 

The documentation for this class was generated from the following files: