/// <summary> /// Construct a Matrix3x2d specifying the matrix columns. /// </summary> public Matrix3x2d(Vertex2d c0, Vertex2d c1, Vertex2d c2) { Column0 = c0; Column1 = c1; Column2 = c2; }
/// <summary> /// Accumulate a translation on this model matrix. /// </summary> /// <param name="p"> /// A <see cref="Vertex2d"/> that specify the translation. /// </param> public void Translate(Vertex2d p) { Translate((float)p.x, (float)p.y); }
/// <summary> /// Construct a Matrix2x2d specifying the matrix columns. /// </summary> public Matrix2x2d(Vertex2d c0, Vertex2d c1) { Column0 = c0; Column1 = c1; }
/// <summary> /// Accumulate a scaling to this model matrix. /// </summary> /// <param name="s"> /// A <see cref="Vertex2d"/> holding the scaling factors on three dimensions. /// </param> public void Scale(Vertex2d s) { Scale((float)s.x, (float)s.y); }