Added possible static_cast conversion of GLM types (#72)

This commit is contained in:
Christophe Riccio
2013-12-27 00:49:53 +01:00
parent e5f8ebbfd7
commit d252dd243b
27 changed files with 30 additions and 217 deletions

View File

@@ -27,8 +27,9 @@ int test_vec2_cast()
glm::mediump_vec2 G = static_cast<glm::mediump_vec2>(A);
glm::highp_vec2 H = static_cast<glm::highp_vec2>(A);
//my_vec2 I;
//glm::vec2 J = static_cast<glm::vec2>(I);
my_vec2 I;
glm::vec2 J = static_cast<glm::vec2>(I);
glm::vec2 K(7.8);
int Error(0);