-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
matrix/Interpolate()
not implemented
#305
Comments
Ran a quick test to try to figure out how the matrices interpolate in Byond, so here is one example. With following matrices: matrix(
[0,3,0],
[1,4,0],
[2,5,1]
)
matrix(
[6,3,0],
[5,2,0],
[4,1,1]
) With varying
|
Another trial A = matrix(
[1,1,0],
[2,2,0],
[3,3,1]
) B = matrix(
[3,3,0],
[2,2,0],
[1,1,1]
)
|
More findings that I could find:
Although those are not entirely empirical findings and supported by the little evidence I had. Overall this is a very odd function and is rarely used by any SS13 codebase except for tgstation with one sole use. |
Trying my hand at this and I can't understand what you mean by SSRT. Do you mean that you decompose the matrix M into
With S being a Scale/Shear matrix, R being a rotation, and T being a translation ? |
The SSRT is coined from a discussion we had in the OpenDream discussion, it comes from the specification given by the Byond DM documentation. In words:
We had this discussion in the Discord trying to dechiper from the description and tests how it exactly works. And we are not even sure either. |
Closed in favour of #2194 |
http://www.byond.com/docs/ref/#/matrix/proc/Interpolate
The text was updated successfully, but these errors were encountered: