51 aWorldTransform.
translate(-0.5, -0.5, -0.5);
52 aWorldTransform.
scale(aSphereSize.
getX(), aSphereSize.
getY(), aSphereSize.
getZ());
59 const sal_uInt32 nHorizontalSegments(
GetE3dSphereObj().GetHorizontalSegments());
60 const sal_uInt32 nVerticalSegments(
GetE3dSphereObj().GetVerticalSegments());
65 M_PI * ((aSphereSize.
getX() + aSphereSize.
getZ()) / 2.0),
66 M_PI_2 * aSphereSize.
getY());
71 aWorldTransform, aTextureSize, aAttribute, aSdr3DObjectAttribute,
72 nHorizontalSegments, nVerticalSegments));
73 xRetval = { xReference };
SphereObject with diameter r3DSize.
const SfxItemSet & GetMergedItemSet() const
void translate(double fX, double fY, double fZ)
void scale(double fX, double fY, double fZ)
attribute::SdrLineFillShadowAttribute3D createNewSdrLineFillShadowAttribute(const SfxItemSet &rSet, bool bSuppressFill)
attribute::Sdr3DObjectAttribute createNewSdr3DObjectAttribute(const SfxItemSet &rSet)
css::uno::Reference< css::graphic::XPrimitive3D > Primitive3DReference