if (hint != null && hint.isDoSystemPlacement() == true) {
// Case (1): We have a bounds hint and we want to do the layout,
// so we find the distance away from the avatar and also the height
// above the ground.
BoundingVolume boundsHint = hint.getBoundsHint();
transform = CellPlacementUtils.getCellTransform(manager, boundsHint,
viewTransform);
}
else if (hint == null) {
// Case (2): Do the optimal placement using the default radius.
BoundingVolume boundsHint = new BoundingSphere(DEFAULT_RADIUS, Vector3f.ZERO);
transform = CellPlacementUtils.getCellTransform(manager, boundsHint,
viewTransform);
}
else if (hint != null && hint.isDoSystemPlacement() == false) {
// Case (3): The Cell will take care of its own placement, use