Removed obsolete out commended code.

此提交包含在:
Sascha L. Teichmann
2014-09-11 02:29:34 +02:00
父節點 072eba3e5a
當前提交 d08fcbbe9e

查看文件

@@ -46,8 +46,6 @@ func NewRenderer(xOfs, zOfs int16, width, height int) (renderer *Renderer) {
//func (r *Renderer) minY(x, z int16) (minY int32) {
func (r *Renderer) minY(ofs, w int) (minY int32) {
//w := r.width << 4
//ofs := int(z)*w<<4 + int(x)<<4
minY = int32(math.MaxInt32)
for yEnd := ofs + w<<4; ofs < yEnd; {
for xEnd := ofs + 16; ofs < xEnd; ofs++ {