Sprite Finder Impl
Indexes an atlas sprite to allow fast lookup of Sprites from baked vertex coordinates. Implementation is a straightforward quad tree. Other options that were considered were linear search (slow) and direct indexing of fixed-size cells. Direct indexing would be fastest but would be memory-intensive for large atlases and unsuitable for any atlas that isn't consistently aligned to a fixed cell size.
Constructors
SpriteFinderImpl
Link copied to clipboard
Types
SpriteFinderAccess
Link copied to clipboard
public interface SpriteFinderAccess
Content copied to clipboard
Functions
get
Link copied to clipboard
Sources
jvm source
Link copied to clipboard