Exemplo n.º 1
0
 public static void SetOrts(Vec2 e1, Vec2 e2, Vec2 center)
 {
     MultMatrix(Mat4.CreateTranslation(center.X, center.Y, 0) * Mat4.CreateFromOrts(new Vec3(e1, 0), new Vec3(e2, 0), Vec3.OrtZ));
 }
Exemplo n.º 2
0
 public static void Translate(double dx, double dy, double dz)
 {
     MultMatrix(Mat4.CreateTranslation(dx, dy, dz));
 }