Closed monkeez closed 4 years ago
I like it.
My initial reaction was that cmds.Context
would have been cleaner.. and maybe it's worth adding a Context = DGContext
as another alias below, since there is no other jargon for context than a DG context so seems a bit wasteful. But it would be consistent if you're already familiar with it, like cmdx.Vector
and cmdx.TransformationMatrix
etc. So we shoul definitely keep it in.
I think this looks good, merging as soon as the (needless) tests passes (for the README badges to not break).
First pass of the DGContext context manager. Let me know if you have any suggestions.