![]() |
|
#1
|
|||
|
|||
If you have a list of 16 values representing the 4x4 matrix, then you can initialize a viz.Matrix object with it:
Code:
matrix_data = [1,2,3,...,16] # 4x4 matrix values m = viz.Matrix(matrix_data) #Create matrix object print m.getPosition() #Print position print m.getQuat() #Print quaternion |
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|