memproses bungkus layar java

void screenWrap(PVector position) {
	if (position.x < 0){ //warp x
		position.x += width;
	} else {
		position.x = position.x % width; 
	}

	if (position.y < 0){ //warp y
		position.y += height;
	} else {
		position.y = position.y % height;
	}
}
try { hard = Coder(); }