33 float coneHeight = element.width * 6.0f;
34 float coneBottomRadius = element.width * 2.5f;
35 float baseLength = element.length - coneHeight;
36 baseLength = std::max(0.0f, baseLength);
38 tr->translation.setValue(0, baseLength * 0.5f, 0);
40 c->radius = element.width;
41 c->height = baseLength;
43 transl->translation.setValue(0, element.length * 0.5f, 0);
45 cone->bottomRadius.setValue(coneBottomRadius);
46 cone->height.setValue(coneHeight);