0
它總是告訴我,我混合主動和靜態模式。處理錯誤消息,我應該如何編寫drawgrid函數?
final int GAP = 15;
void setup() {
size(300,300);
background(255);
}
void draw() {
}
void mousePressed() {
background(255);
drawGrid(mouseX,mouseY);
}
drawGrid(mouseX,mouseY)
{
line(10,10,20,20);
}