Updated documentation for getDensity() to warn about potentially costly operation (#6698)
Updated documentation for getDensity() to warn about potentially costly operation (#6698)

Co-authored-by: Johannes Mario Ringheim <d3787ec035b8eb6a2ecd394ba142252c63234e98@hvl.no>
libgdx/libgdx,cypherdare/libgdx,bladecoder/libgdx,bladecoder/libgdx,stinsonga/libgdx,libgdx/libgdx,NathanSweet/libgdx,bladecoder/libgdx,tommyettinger/libgdx,Zomby2D/libgdx,NathanSweet/libgdx,cypherdare/libgdx,NathanSweet/libgdx,stinsonga/libgdx,NathanSweet/libgdx,Zomby2D/libgdx,Zomby2D/libgdx,tommyettinger/libgdx,cypherdare/libgdx,libgdx/libgdx,cypherdare/libgdx,cypherdare/libgdx,tommyettinger/libgdx,NathanSweet/libgdx,stinsonga/libgdx,stinsonga/libgdx,libgdx/libgdx,tommyettinger/libgdx,libgdx/libgdx,bladecoder/libgdx,Zomby2D/libgdx,tommyettinger/libgdx,Zomby2D/libgdx,bladecoder/libgdx,stinsonga/libgdx