warp.spatial_matrixf#

class warp.spatial_matrixf(*args)[source]#

6x6 spatial matrix with float32 components for rigid-body dynamics.

Methods

from_ptr(ptr)

get_col(c)

Return column c of the matrix as a new vector.

get_row(r)

Return row r of the matrix as a new vector.

scalar_export()

scalar_import()

set_col(c, v)

Set column c of the matrix to v in place.

set_row(r, v)

Set row r of the matrix to v in place.