Skip to content
ExamplesOpen editor ↗

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.

NameTypeDescription
molamolaThe vector to copy.
Copies a vector
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();
}

bopaMola, kopololaKarolo