Removed obsolete out commended code.

This commit is contained in:
Sascha L. Teichmann 2014-09-11 02:29:34 +02:00
parent 072eba3e5a
commit d08fcbbe9e
1 changed files with 0 additions and 2 deletions

View File

@ -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++ {