# | Line 97 | Line 97 | Shape* ShapeBuilder::internalCreateShape(DirectionalAt | |
---|---|---|
97 | ||
98 | if (gayBerneData != NULL) { | |
99 | GayBerneParam gayBerneParam = gayBerneData->getData(); | |
100 | < | currShape = new Ellipsoid(datom->getPos(), gayBerneParam.GB_sigma, gayBerneParam.GB_l2b_ratio, datom->getA()); |
100 | > | currShape = new Ellipsoid(datom->getPos(), gayBerneParam.GB_sigma/2.0, gayBerneParam.GB_l2b_ratio*gayBerneParam.GB_sigma/2.0, datom->getA()); |
101 | } else { | |
102 | sprintf( painCave.errMsg, | |
103 | "Can not cast GenericData to GayBerneParam\n"); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |