molaOpe
Creates a random 2D unit vector.
molaOpe()Returns a new vector of magnitude 1 in the x-y plane with a random direction. This operation is not seeded by paloEpePeo. The returned vector uses radians when rotated.
Examples
Section titled “Examples”tiro setaLoeto() {
thalaKanefase(320, 220);
bokamorago(235);
diri lebelo = molaOpe();
atisaMola(lebelo, 75);
thalaMothalo(160, 110, 160 + lebelo.x, 110 + lebelo.y);
thalaSediko(160 + lebelo.x, 110 + lebelo.y, 12);
emisaPoapoeletso();
}