public void SetObjectFrame(int id, mmFrame newFrame) { frame3f f = newFrame.toFrame3f(); StoredCommands sc = new StoredCommands(); sc.AppendSceneCommand_SetObjectFrame(id, f); ExecuteCommands(sc); }
public mmMatrix(mmFrame f) { m[0] = f.x[0]; m[1] = f.x[1]; m[2] = f.x[2]; m[3] = f.y[0]; m[4] = f.y[1]; m[5] = f.y[2]; m[6] = f.z[0]; m[7] = f.z[1]; m[8] = f.z[2]; }