Skip to content

Commit

Permalink
fix some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
BuckarooBanzay committed Jun 23, 2024
1 parent 6037111 commit 51b2c64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions isorenderer.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func RenderIsometric(na types.NodeAccessor, cr types.ColorResolver, from, to *ty
for y := min.Y(); y <= max.Y()-1; y++ {
pnodes, err := Probe(min, max, types.NewPos(x, y, min.Z()), ipos, na, cr, skip_alpha)
if err != nil {
return nil, fmt.Errorf("probe error, left layer: %v", err)
return nil, fmt.Errorf("probe error, right layer: %v", err)
}
nodes = append(nodes, pnodes...)
}
Expand All @@ -64,7 +64,7 @@ func RenderIsometric(na types.NodeAccessor, cr types.ColorResolver, from, to *ty
for y := min.Y(); y <= max.Y()-1; y++ {
pnodes, err := Probe(min, max, types.NewPos(min.X(), y, z), ipos, na, cr, skip_alpha)
if err != nil {
return nil, fmt.Errorf("probe error, right layer: %v", err)
return nil, fmt.Errorf("probe error, left layer: %v", err)
}
nodes = append(nodes, pnodes...)
}
Expand Down

0 comments on commit 51b2c64

Please sign in to comment.