PEDI_PI
→ TWO_PIA constant equal to twice PI, approximately 6.2832.
PEDI_PIPEDI_PI is PI * 2. A full circle holds PEDI_PI radians, so it stands for one complete turn (360˚). The name joins the Setswana numeral pedi (two) with PI.
Examples
Section titled “Examples”tiro setaLoeto() {
thalaKanefase(400, 400);
bokamorago(220);
boketeMothalo(14);
// Mothalo wa PI
mothaloMmala(70, 130, 180);
thalaMothalo(40, 150, 40 + PI * 50, 150);
// Mothalo wa PEDI_PI — o mo lekgetlo la bobedi
mothaloMmala(200, 70, 70);
thalaMothalo(40, 250, 40 + PEDI_PI * 50, 250);
}