rotation

Contents

rotation#

snake.core.handlers.motion.utils.rotation(x=0.0, y=0.0, z=0.0, dtype='float32')[source]#

Create an array with a 4 dimensional rotation matrix.

Parameters:
Returns:

r – The rotation matrix.

Return type:

array, shape = (4, 4)