static protected void copyMatrix(PShape src, PShape dest) { if (src.matrix != null) { dest.applyMatrix(src.matrix); } }
public void applyMatrix(PMatrix source) { if (source instanceof PMatrix2D) { applyMatrix((PMatrix2D) source); } else if (source instanceof PMatrix3D) { applyMatrix((PMatrix3D) source); } }
static protected void copyMatrix(PShape src, PShape dest) { if (src.matrix != null) { dest.applyMatrix(src.matrix); } }
public void applyMatrix(PMatrix2D source) { applyMatrix(source.m00, source.m01, 0, source.m02, source.m10, source.m11, 0, source.m12, 0, 0, 1, 0, 0, 0, 0, 1); }
public void applyMatrix(PMatrix3D source) { applyMatrix(source.m00, source.m01, source.m02, source.m03, source.m10, source.m11, source.m12, source.m13, source.m20, source.m21, source.m22, source.m23, source.m30, source.m31, source.m32, source.m33); }
public void applyMatrix(PMatrix source) { if (source instanceof PMatrix2D) { applyMatrix((PMatrix2D) source); } else if (source instanceof PMatrix3D) { applyMatrix((PMatrix3D) source); } }
public void applyMatrix(PMatrix2D source) { applyMatrix(source.m00, source.m01, 0, source.m02, source.m10, source.m11, 0, source.m12, 0, 0, 1, 0, 0, 0, 0, 1); }
public void applyMatrix(PMatrix3D source) { applyMatrix(source.m00, source.m01, source.m02, source.m03, source.m10, source.m11, source.m12, source.m13, source.m20, source.m21, source.m22, source.m23, source.m30, source.m31, source.m32, source.m33); }
ohio.applyMatrix(transform); //apply this transformation matrix to the SVG