@@ -124,17 +124,14 @@ void MatricesManager::calculateNewHeadPose360(gvr::GvrApi *gvr_api, const int pr
124
124
const gvr::Mat4f tmpHeadPose = gvr_api->GetHeadSpaceFromStartSpaceTransform (target_time);
125
125
gvr_api->ApplyNeckModel (tmpHeadPose,1 );
126
126
worldMatrices.monoViewTracked =toGLM (tmpHeadPose);
127
- worldMatrices.monoViewTracked =glm::transpose (worldMatrices.monoViewTracked );
128
-
129
- worldMatrices.monoViewTracked =worldMatrices.leftEyeViewTracked ;
130
-
131
- // float aaa[16]={1,-1.94429e-07,5.55111e-17,0,
132
- // 1.94429e-07,1,1.66533e-16,0,
133
- // -5.55112e-17,-1.66533e-16,1,0,
134
- // -0.1,1.94429e-08,-5.55111e-18,1,};
135
- // worldMatrices.monoViewTracked=glm::make_mat4x4(aaa);
136
127
}
137
128
129
+
130
+ // float aaa[16]={1,-1.94429e-07,5.55111e-17,0,
131
+ // 1.94429e-07,1,1.66533e-16,0,
132
+ // -5.55112e-17,-1.66533e-16,1,0,
133
+ // -0.1,1.94429e-08,-5.55111e-18,1,};
134
+ // worldMatrices.monoViewTracked=glm::make_mat4x4(aaa);
138
135
/* float rot=0;
139
136
void MatricesManager::calculateNewHeadPose360_fixRot(gvr::GvrApi *gvr_api, const int predictMS) {
140
137
gvr::ClockTimePoint target_time = gvr::GvrApi::GetTimePointNow();
0 commit comments