1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00
Beef/BeefySysLib/util/BSpline.h

25 lines
308 B
C
Raw Permalink Normal View History

2019-08-23 11:56:54 -07:00
#pragma once
#include "Common.h"
#include "Point.h"
NS_BF_BEGIN;
class BSpline2D
{
public:
Array<PointF> mInputPoints;
2019-08-23 11:56:54 -07:00
int* mUVals;
public:
BSpline2D();
~BSpline2D();
void AddPt(float x, float y);
void Calculate();
void Evaluate(float pct, float* x, float* y);
};
NS_BF_END;