Skip to content

Conversation

@aardgoose
Copy link
Contributor

As title.

Also use RotateNode in SpriteNodeMaterial and RotateUVNode.

@sunag sunag added this to the r161 milestone Jan 23, 2024

if ( vecNum !== null ) return Number( vecNum[ 1 ] );
if ( vecType === 'float' || vecType === 'bool' || vecType === 'int' || vecType === 'uint' ) return 1;
if ( /mat2/.test( type ) === true ) return 4;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love how simple it was to introduce a new type!

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

Successfully merging this pull request may close these issues.

3 participants