Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 00052 00053 00054 00055 |
//============================================================================= // Spline: A simple Hermite Spline for interpolation with position and // velocity continuity. //============================================================================= class Spline extends Object native; const mMaxTimes=5; var vector SplineA, SplineB, SplineC, SplineD; var rotator SplineE, SplineF, SplineG, SplineH; var float mStartT, mEndT; var bool mbInit; var float mTime; var float maDeltaTimes[mMaxTimes]; var int mIndex; var float mTotalTime; var bool mbRotatorSpline; var int mCnt; native final simulated function bool InitSplinePath(float t0, vector d0, vector v0, float t1, vector d1, vector v1); native final simulated function bool InitSplineRot( float t0, rotator d0, rotator v0, float t1, rotator d1, rotator v1); native final simulated function bool NextSplinePos( float dt, out vector d, out vector v, out vector a, out float outdt, optional bool bSmoothDt, optional bool bAccumDeltas); // gam native final simulated function bool NextSplineRot( float dt, out rotator d, out rotator v, out rotator a, out float outdt, optional bool bSmoothDt, optional bool bAccumDeltas); // gam defaultproperties { } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |