home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1997 March
/
VPR9703A.ISO
/
VPR_DATA
/
DOGA
/
SOURCES
/
MEDIT.LZH
/
BEZIERT.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1995-08-23
|
634b
|
40 lines
#include <stdio.h>
#include "matrix.h"
#include "bezier.h"
#include "beziert.h"
BezierTime::BezierTime(int maxframe, double maxlength) :
Bezier::Bezier(Vector(1.0, 0.0, 0.0));
{
Vector v((double)maxframe, maxlength, 0.0);
AddPoint(v,v);
}
BezierTime::~BezierTime()
{
}
void BezierTime::AddPosition(int t, double position)
{
if (t <=
for (int i = 0; i <= points; ++i) {
if (
}
void BezierTime::DeletePosition(int t)
{
}
void BezierTime::SetPosition(int t, double position)
{
}
void BezierTime::SetSpeed(int t, int width, double speed)
{
}
double BezierTime::GetPosition(int t)
{
}