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