/* */ package NET.worlds.scape; /* */ /* */ /* */ /* */ /* */ /* */ /* */ class PitchWidget /* */ extends WidgetButton /* */ { /* */ private static final long serialVersionUID = 1L; /* */ /* */ /* */ /* */ /* */ /* */ public PitchWidget(ToolBar toolbar) /* */ { /* 19 */ super(toolbar, "pitch.gif", "Pitch"); /* */ } /* */ /* */ public String drag(boolean initialDrag, float deltax, float deltay) /* */ { /* 24 */ if (Math.abs(deltax) > Math.abs(deltay)) /* 25 */ deltay = 0.0F; /* 26 */ Transform t = Transform.make(); /* 27 */ applyWorldTransform(initialDrag, /* 28 */ t.spin(getWorldAxis(1, 0, 0), -deltay)); /* 29 */ t.recycle(); /* 30 */ return "Pitch"; /* */ } /* */ } /* Location: C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\scape\PitchWidget.class * Java compiler version: 6 (50.0) * JD-Core Version: 0.7.1 */