mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-12-24 17:20:18 +01:00
Removed obsolete out commended code.
This commit is contained in:
parent
072eba3e5a
commit
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(x, z int16) (minY int32) {
|
||||||
func (r *Renderer) minY(ofs, w int) (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)
|
minY = int32(math.MaxInt32)
|
||||||
for yEnd := ofs + w<<4; ofs < yEnd; {
|
for yEnd := ofs + w<<4; ofs < yEnd; {
|
||||||
for xEnd := ofs + 16; ofs < xEnd; ofs++ {
|
for xEnd := ofs + 16; ofs < xEnd; ofs++ {
|
||||||
|
Loading…
Reference in New Issue
Block a user