Get 1D item with 2D coordinates with 1D array beginning at bottom

后端 未结 0 393
粉色の甜心
粉色の甜心 2021-01-18 10:26

How do I get a 1D item which starts at the bottom left of a 2D array after providing 2D coordinates?

var width = 3; // the 2D array width
var height = 3; // t         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题