Skip to main content
added 11 characters in body
Source Link

After tinkering around for hours I have finally found a great way to fill triangles! Here we go:

for(int x = x1; x<=x2; x++) {
    for(int y = y1; y<=y2; y++) {
     lcd.drawLine(x3, y3, x, y);
    }
}

Great!

After tinkering around for hours I have finally found a great way to fill triangles! Here we go:

for(int x = x1; x<=x2; x++) {
    for(int y = y1; y<=y2; y++) {
     lcd.drawLine(x3, y3, x, y);
}

Great!

After tinkering around for hours I have finally found a great way to fill triangles! Here we go:

for(int x = x1; x<=x2; x++) {
    for(int y = y1; y<=y2; y++) {
     lcd.drawLine(x3, y3, x, y);
    }
}

Great!

Source Link

After tinkering around for hours I have finally found a great way to fill triangles! Here we go:

for(int x = x1; x<=x2; x++) {
    for(int y = y1; y<=y2; y++) {
     lcd.drawLine(x3, y3, x, y);
}

Great!