/// ====================================================================== public static LineDraft Create() { var result = new LineDraft(); result.Reset(); return(result); }
public static LineDraft Create(LineDraft draft) { var result = Create(); result.Copy(draft); return(result); }
public void Copy(LineDraft draft) { if (draft == null) { return; } length = draft.length; height = draft.height; forwardScale = draft.forwardScale; parent = draft.parent; pivot = draft.pivot; up = draft.up; right = draft.right; }