Jump to content

Matrix component


Recommended Posts

I've seen a syntax of getting matrix components in the recent entagma tutorial "polyfolding".

he writes:
matrix xform = set(bitangent, normal, tangent, origin);
xform.xa = 0;
xform.ya = 0;
xform.za = 0;

Now I'm wondering how is the syntax for the other values in a matrix (xa, ya, ...).  Maybe someone can post a list of all of them?

I know there is the getcomponent command, but I think this way is more elegant.

Edited by Drughi
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...