Class ViewUtil

java.lang.Object
com.hypixel.hytale.math.shape.ViewUtil

public class ViewUtil extends Object
  • Field Details

  • Constructor Details

    • ViewUtil

      private ViewUtil()
  • Method Details

    • computeOutCode

      private static int computeOutCode(double x, double y)
    • CohenSutherlandLineClipAndDraw

      private static void CohenSutherlandLineClipAndDraw(double x0, double y0, double x1, double y1, Graphics2D graphics2D, double width, double height)