kopololaMola
Copies a vector.
kopololaMola(mola)Returns a separate vector with the same components. Changing the copy does not change the original. The copy preserves the original vector’s angle-mode association.
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
mola | mola | The vector to copy. |
Examples
Section titled “Examples”tiro setaLoeto() {
thalaKanefase(320, 220);
bokamorago(235);
diri a = bopaMola(100, 60);
diri b = kopololaMola(a);
atisaMola(b, 1.5);
thalaSediko(a.x, a.y, 15);
thalaSediko(b.x, b.y, 15);
emisaPoapoeletso();
}