Class Projection


  • public final class Projection
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static InteractablePoint coordinateToMinimap​(Coordinate coordinate)
      Calculates the position of the specified coordinate coordinate on the mininmap
      static java.awt.Shape getViewport()  
      static java.awt.Point[] multiAbsoluteToScreen​(int height, int[] xs, int[] ys, int[] zs, java.util.Map<java.lang.String,​java.lang.Object> cache)
      Projects an absolute point in 3d space to it's screen point.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • coordinateToMinimap

        public static InteractablePoint coordinateToMinimap​(Coordinate coordinate)
        Calculates the position of the specified coordinate coordinate on the mininmap
      • multiAbsoluteToScreen

        public static java.awt.Point[] multiAbsoluteToScreen​(int height,
                                                             int[] xs,
                                                             int[] ys,
                                                             int[] zs,
                                                             java.util.Map<java.lang.String,​java.lang.Object> cache)
        Projects an absolute point in 3d space to it's screen point.
      • getViewport

        public static java.awt.Shape getViewport()