Date: 2019-12-10
Tags: line of sight LOS linedrawing
线绘制方式,也可用于统计线穿越的格子
以下两个方法是近似求解,只能用于整数点。
以下可用于实数点