[Fluxus] pdata-op between Pdata "c" end vector(3)
gabor papp
gabor.lists at mndl.hu
Fri Apr 20 02:25:50 PDT 2012
hi Ted,
> So, I searched and found this AddOperator function in sources, and tried to
> add these specific types.
try to implement the following templates:
template<>
PData *AddOperator::Operate(TypedPData<dColour> *a, dColour b);
template<>
PData *AddOperator::Operate(TypedPData<dColour> *a, TypedPData<dColour>
*b);
additionally, i believe these will be needed to set grayscale colours:
template<>
PData *AddOperator::Operate(TypedPData<dColour> *a, float b);
template<>
PData *AddOperator::Operate(TypedPData<dColour> *a, TypedPData<float> *b);
best,
gabor
More information about the Fluxus
mailing list