Jump to content

[SOLVED] usinful matrix functions


photo

Recommended Posts

Posted

hi, can you add translation and scalation core functions like rotation for matrix?

Posted

Hello there!

 

Let me put my 5 cents: you can use decomposeTransform and composeTransform functions for rotation/translation/scale. This functions are available both in C++ and UnigineScript.

Posted

i am using this, but i want comfortable core one-string function like rotation

Posted

You can always build your own small utility class for conveniance

Posted

Also, you can use mat4::setTranslate, mat4::setRotate, mat4::setScale methods in C++ API.

Posted

very nice, but i need mat4::getTranslatemat4::getRotatemat4::getScale  :D 

×
×
  • Create New...