ck
Class ComplexInterpolator
Object
common:Generic
ck:ComplexInterpolator
class
- Generic:ComplexInterpolator
This is the base class for interpolation of Complex Numbers
Ultra Fractal Source
Toggle UF Source Code Display
class ComplexInterpolator(common.ulb:Generic) {
; This is the base class for interpolation of Complex Numbers
public:
import "Common.ulb"
func ComplexInterpolator(Generic pparent)
Generic.Generic(pparent)
; interpol=new @interpolation(this)
; easing=new @easing(this)
endfunc
complex func Interpolate(float t,complex a,complex b)
return doInterpolate(t,a,b)
endfunc
complex func doInterpolate(float t,complex a,complex b)
return a + t * (b - a)
endfunc
private:
; InterpolateBase interpol;
; Easing easing;
default:
; InterpolateBase param interpolation
; default= InterpolateBase
; endparam
; Easing param easing
; default= Easing
; endparam
}
Methods inherited from class Object |
|
ComplexInterpolator
public ComplexInterpolator(Generic pparent)
ComplexInterpolator
public ComplexInterpolator()
Interpolate
public complex Interpolate(float t,
complex a,
complex b)
doInterpolate
public complex doInterpolate(float t,
complex a,
complex b)