Solve bug that cause some vertices to be misplaced in MultiModelGeometry and calculate MVP matrix for renderable model in double precision

This commit is contained in:
Kalle Bladin
2016-08-02 19:14:52 -04:00
parent 93d661bfc6
commit 4e0bbe2da0
31 changed files with 63 additions and 4675 deletions
@@ -46,8 +46,12 @@ struct UpdateData {
struct RenderData {
const Camera& camera;
// psc position to be removed in favor of the double precision position
// Now both are here due to dependencies of the psc position
psc position;
bool doPerformanceMeasurement;
glm::dvec3 positionVec3;
};
struct RaycasterTask {