public static TSMatrix4x4 Rotate(TSQuaternion quaternion) { TSMatrix4x4 result; TSMatrix4x4.Rotate(ref quaternion, out result); return(result); }
public static void TRS(TSVector translation, TSQuaternion rotation, TSVector scale, out TSMatrix4x4 matrix) { matrix = TSMatrix4x4.Translate(translation) * TSMatrix4x4.Rotate(rotation) * TSMatrix4x4.Scale(scale); }