X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fnet%2Fsf%2Fopenrocket%2Frocketcomponent%2FTransition.java;fp=src%2Fnet%2Fsf%2Fopenrocket%2Frocketcomponent%2FTransition.java;h=5478545fe00f0cc74168b2a4aa1ba980c0b3fa28;hb=566a2343c3dfd28e4275d5c17b779a92e8d13f78;hp=7155a7988311fc941186aa8dee88718d4e3b889c;hpb=d8776d61bfa934a68829d9971bb89311e55c67cf;p=debian%2Fopenrocket
diff --git a/src/net/sf/openrocket/rocketcomponent/Transition.java b/src/net/sf/openrocket/rocketcomponent/Transition.java
index 7155a798..5478545f 100644
--- a/src/net/sf/openrocket/rocketcomponent/Transition.java
+++ b/src/net/sf/openrocket/rocketcomponent/Transition.java
@@ -1,9 +1,8 @@
package net.sf.openrocket.rocketcomponent;
-import static java.lang.Math.sin;
-import static java.lang.Math.sqrt;
-import static net.sf.openrocket.util.MathUtil.pow2;
-import static net.sf.openrocket.util.MathUtil.pow3;
+import static java.lang.Math.*;
+import static net.sf.openrocket.util.Chars.*;
+import static net.sf.openrocket.util.MathUtil.*;
import java.util.Collection;
@@ -594,14 +593,14 @@ public class Transition extends SymmetricComponent {
"Radius × (x / Length)" +
"k "+
"where k is the shape parameter. For k=0.5 this is a "+
- "½-power or parabolic nose cone, for k=0.75 a "+
- "¾-power, and for k=1 a conical nose cone.",
+ "" + FRAC12 +"-power or parabolic nose cone, for k=0.75 a "+
+ "" + FRAC34 +"-power, and for k=1 a conical nose cone.",
"A power series transition has a profile of "+
"Radius × (x / Length)" +
"k "+
"where k is the shape parameter. For k=0.5 the transition is "+
- "½-power or parabolic, for k=0.75 a ¾-power, and for " +
- "k=1 conical.",true) {
+ "" + FRAC12 + "-power or parabolic, for k=0.75 a " +
+ "" + FRAC34 + "-power, and for k=1 conical.",true) {
@Override
public boolean usesParameter() { // Range 0...1
return true;