////////////////////////////////////////////////////////////////////////////////// LoopRez v0.6, by Ged Larsen, 20 December 2006//// - rez a number of objects in an ellipse, whose size is determined by xRadius and yRadius// - all facing "outwards", along a tangent to the ellipse// - can set how much the objects flare outwards// - properly handles object rotation corrections (for example, X-axis 180 degree rotation helps for flexi-prim skirts)// - can also get a 'saddle' bend, to generate a bend that might help for necklaces (from Ariane Brodie)//// To use:// 1) create a prim that will contain this script and the object to use// 2) put the script into the prim// 3) create an object that will be used, and name it "Object"// 4) put "Object" into the prim containing the script, by dragging it from your inventory// 5) get out of Edit Mode, and touch the prim//// Random note:// - this version does NOT insure equal spacing of objects along the perimeter of the ellipse// - i.e., objects "bunch up" at the long ends of an ellipse; the effect should be acceptable for non-extreme ellipses// - even spacing of objects can be accomplished, but requires simulation of integral calculus, which slows down the script//// References:// - tangent formulas from: http://mathworld.wolfram.com/Ellipse.html