Documentation
¶
Index ¶
- func Closer(a, b shapes.Point) bool
- func FromOrthographic(location shapes.Point, tileSize shapes.Point) (screen shapes.Point)
- func FromOrthographicWithStaticSize(p shapes.Point, tileSize float64) shapes.Point
- func Nearness(p shapes.Point) float64
- func PixelToScreenCoords(pixel, tileSize shapes.Point, height float64) shapes.Point
- func ProjectISO(p shapes.Point) shapes.Point
- func ScreenToPixelCoords(screen, tileSize shapes.Point, height float64) shapes.Point
- func TileToScreenCoords(pos, tileSize shapes.Point, height float64) shapes.Point
- func ToOrthographic(screen shapes.Point, tileSize shapes.Point) (location shapes.Point)
- func ToOrthographicWithStaticSize(p shapes.Point, tileSize float64) shapes.Point
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromOrthographic ¶
FromOrthographic make isometric point from orthographic
func FromOrthographicWithStaticSize ¶
FromOrthographicWithStaticSize based on pixel calculation
func PixelToScreenCoords ¶
PixelToScreenCoords pixel to screen
func ScreenToPixelCoords ¶
ScreenToPixelCoords screen to pixel
func TileToScreenCoords ¶
TileToScreenCoords tile to screen
func ToOrthographic ¶
ToOrthographic make orthographic point from isometric
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.