public CameraInterpolator(ICamera actualCamera, ICamera destinyCamera, InterpolationType type, float data) { if (type == InterpolationType.BYSTEP) { cii = new cameraStepInterpol(data); } else { cii = new cameraTimeInterpol(data); } Reset(actualCamera, destinyCamera); }
public CameraInterpolator(ICamera actualCamera,ICamera destinyCamera ,InterpolationType type , float data) { if (type == InterpolationType.BYSTEP) { cii = new cameraStepInterpol(data); } else { cii = new cameraTimeInterpol(data); } Reset(actualCamera, destinyCamera); }