public void Start(Vector3 p1, Vector3 p2, Vector3 t1, Vector3 t2, Vector3 u1, Vector3 u2, float field1, float field2, float aspect1, float aspect2, float near1, float near2, float far1, float far2) { _pinterp = new Vec3Interpolator(); _tinterp = new Vec3Interpolator(); _uinterp = new Vec3Interpolator(); _fieldinterp = new FloatInterpolator(); _aspectinterp = new FloatInterpolator(); _nearinterp = new FloatInterpolator(); _farinterp = new FloatInterpolator(); _pinterp.Start(p1, p2, _timeInSeconds); _tinterp.Start(t1, t2, _timeInSeconds); _uinterp.Start(u1, u2, _timeInSeconds); _fieldinterp.Start(field1, field2, _timeInSeconds); _aspectinterp.Start(aspect1, aspect2, _timeInSeconds); _nearinterp.Start(near1, near2, _timeInSeconds); _farinterp.Start(far1, far2, _timeInSeconds); }
public void Start(Vector3 p1, Vector3 p2, Vector3 t1, Vector3 t2, Vector3 u1, Vector3 u2, float field1, float field2, float aspect1, float aspect2, float near1, float near2, float far1, float far2) { _pinterp = new Vec3Interpolator(); _tinterp = new Vec3Interpolator(); _uinterp = new Vec3Interpolator(); _fieldinterp = new FloatInterpolator(); _aspectinterp = new FloatInterpolator(); _nearinterp = new FloatInterpolator(); _farinterp = new FloatInterpolator(); _pinterp.Start(p1,p2, _timeInSeconds); _tinterp.Start(t1,t2, _timeInSeconds); _uinterp.Start(u1, u2, _timeInSeconds); _fieldinterp.Start(field1, field2, _timeInSeconds); _aspectinterp.Start(aspect1, aspect2, _timeInSeconds); _nearinterp.Start(near1, near2, _timeInSeconds); _farinterp.Start(far1, far2, _timeInSeconds); }