Skip to content
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

Implement transformation matrix to allow skewing and rotation #29

Open
mrzapp opened this issue Apr 2, 2014 · 2 comments
Open

Implement transformation matrix to allow skewing and rotation #29

mrzapp opened this issue Apr 2, 2014 · 2 comments

Comments

@mrzapp
Copy link
Contributor

mrzapp commented Apr 2, 2014

This would be individual to every widget, but maybe it'll be too heavy?

@MuNgLo
Copy link
Collaborator

MuNgLo commented Apr 4, 2014

This sounds interesting actually and I bet many would love the feature.

@mrzapp
Copy link
Contributor Author

mrzapp commented May 2, 2014

The code should be something like this:

var matrix : Matrix4x4 = Matrix4x4.TRS ( transform.position, transform.rotation, transform.lossyScale );
GL.Vertex ( matrix.MultiplyPoint3x4 ( position ) );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants