Closed sjakobi closed 5 years ago
https://github.com/google/codeworld/blob/657bf8d3f9a98002cef11fc3e7bbb2f3e8386efd/codeworld-api/src/CodeWorld/Driver.hs#L291-L293
Issues:
Maybe Color
Bool
So my understanding is that (a, b, c, d, e, f, _mcolor) represents the following matrix: (Linear algebra is not my strongest point though)
(a, b, c, d, e, f, _mcolor)
a b e c d f 0 0 1
Can we simply replace the tuple with a more descriptive record with strict fields?
Sounds good to me.
More details about the trasnformation nmatrix are at https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/transform
https://github.com/google/codeworld/blob/657bf8d3f9a98002cef11fc3e7bbb2f3e8386efd/codeworld-api/src/CodeWorld/Driver.hs#L291-L293
Issues:
Maybe Color
instead of aBool
.So my understanding is that
(a, b, c, d, e, f, _mcolor)
represents the following matrix: (Linear algebra is not my strongest point though)Can we simply replace the tuple with a more descriptive record with strict fields?