Method code for $math.rotation_mat_2d()

[Turn off line numbering]
  1: arg angle;
  2: var s, c;
  3: 
  4: s = sin(angle);
  5: c = cos(angle);
  6: return [[c, s, 0.0], [-s, c, 0.0], [0.0, 0.0, 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