Method code for $math.translation_mat()

[Turn off line numbering]
  1: arg vector;
  2: var x, y;
  3: 
  4: if (vector.length() == 2)
  5:     return transmat_2d + [vector + [1.0]];
  6: else
  7:     return transmat_3d + [vector + [1.0]];

["// Various Contributors, including: Miroslav Silovic, Bruce Mitchner, Nolan, Sean R. Lynch, Technobunny", "// Created 19-Oct-1996 as a part of ColdCore, see: @help Credit"]

the Cold Dark