Skip to content
ExamplesOpen editor ↗

lenaaneLaMola

Copies vector components into an array.

lenaaneLaMola(mola)

Returns a new [x, y, z] array. Changing the array does not change the vector.

NameTypeDescription
molamolaThe first vector.
Copies vector components into an array
tiro setaLoeto() {
  thalaKanefase(320, 220);
  bokamorago(235);
  diri a = bopaMola(3, 4);
  diri b = bopaMola(5, 1);
  diri sephetho = lenaaneLaMola(a);
  bogoloJwaMokwalo(28);
  thalaMokwalo(mokwalo(sephetho), 40, 120);
  emisaPoapoeletso();
}

bopaMola, kopololaMola