mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
24 lines
309 B
C++
24 lines
309 B
C++
#pragma once
|
|
|
|
#include "Common.h"
|
|
#include "Point.h"
|
|
|
|
NS_BF_BEGIN;
|
|
|
|
class BSpline2D
|
|
{
|
|
public:
|
|
Array<Point2D> mInputPoints;
|
|
int* mUVals;
|
|
|
|
public:
|
|
BSpline2D();
|
|
~BSpline2D();
|
|
|
|
void AddPt(float x, float y);
|
|
|
|
void Calculate();
|
|
void Evaluate(float pct, float* x, float* y);
|
|
};
|
|
|
|
NS_BF_END;
|