16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 18:39:18 +02:00

cabin sound positioning

This commit is contained in:
milek7
2017-09-16 20:35:43 +02:00
parent 6c8290f66f
commit e5ad6be865
10 changed files with 88 additions and 37 deletions

View File

@@ -118,6 +118,10 @@ class vector3
return true;
};
operator glm::vec3() const
{
return glm::vec3(x, y, z);
}
private:
};
@@ -208,6 +212,11 @@ class matrix4x4
return true;
}
operator glm::mat4() const
{
return glm::make_mat4(e);
}
private:
scalar_t e[16];
};