vrMathService

class vrMathService

(Inherits vrBaseService)

Math utilities.

Functions

vrMathService.getRotation(matrix)
Parameters:matrix (QMatrix4x4) –
Returns:the rotation of the given matrix
Return type:QQuaternion
vrMathService.getScaleFactor(matrix)
Parameters:matrix (QMatrix4x4) –
Returns:the scale factor of the given matrix
Return type:QVector3D
vrMathService.getScaleOrientation(matrix)
Parameters:matrix (QMatrix4x4) –
Returns:the scale orientation of the given matrix
Return type:QQuaternion
vrMathService.getTranslation(matrix)
Parameters:matrix (QMatrix4x4) –
Returns:the translation of the given matrix
Return type:QVector3D