This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
import bpy | |
import sys | |
import matplotlib.pyplot as plt | |
import numpy as np | |
import os | |
import pandas as pd | |
import math | |
from imusim.all import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getMatrix4FromStreamedMatrix(streamedMatrix){ | |
var finalMatrix = new THREE.Matrix4() | |
var divisor = 1 | |
var Rot1X = streamedMatrix[0]; | |
var Rot1Y = streamedMatrix[1] ; | |
var Rot1Z = streamedMatrix[2] ; | |
var Rot2X = streamedMatrix[3] ; | |
var Rot2Y = streamedMatrix[4] ; | |
var Rot2Z = streamedMatrix[5] ; | |
var Rot3X = streamedMatrix[6] ; |