public void prepare(FlameTransformationContext pFlameTransformationContext, AbstractRandomGenerator pRandGen, double pCamDOF_10) {
super.prepare(pFlameTransformationContext, pRandGen, pCamDOF_10);
s = new XYZPoint();
d = new XYZPoint();
xform = new XForm();
fnc = new SquareFunc();
fnc.init(pFlameTransformationContext, new Layer(), xform, 1.0);
width = params.get(PARAM_WIDTH);
}