I added a FieldBlendable class (equivalent of Blendable) and implemented it in FieldMatrix and FieldVector3D.
Also added the ability to create FieldSmoothStepFunction from the SmoothStepFactory class as well as the possibility to create quadratic smoothstep function (normal and field version). It should be possible to generalize the construction of even smoothstep functions but as it should not break the API in the future, I used the simplest and fastest option available.
Hi everyone,
Opening this merge request to close issue #244.
I added a
FieldBlendable
class (equivalent ofBlendable
) and implemented it inFieldMatrix
andFieldVector3D
.Also added the ability to create
FieldSmoothStepFunction
from theSmoothStepFactory
class as well as the possibility to create quadratic smoothstep function (normal and field version). It should be possible to generalize the construction of even smoothstep functions but as it should not break the API in the future, I used the simplest and fastest option available.Finally, I added associated tests for coverage.
Cheers, Vincent