ck
Class Linear
Object
common:Generic
ck:InterpolateBase
ck:Linear
class
- InterpolateBase:Linear
Plain Linear Interpolation between two complex numbers
Ultra Fractal Source
Toggle UF Source Code Display
class Linear(ck.ulb:InterpolateBase) {
; Plain Linear Interpolation between two complex numbers
public:
import "Common.ulb"
func Linear(Generic pparent)
InterpolateBase.InterpolateBase(pparent)
endfunc
protected:
complex func doInterpolate(float t,complex a,complex b)
return a + t * (b - a)
endfunc
default:
title = "Linear"
rating = recommended
}
Methods inherited from class Object |
|
Linear
public Linear(Generic pparent)
Linear
public Linear()
doInterpolate
protected complex doInterpolate(float t,
complex a,
complex b)
- Overrides:
doInterpolate
in class InterpolateBase