Comment calculer vec4 de la croix-produit avec glm?

Pourquoi cela déclenche une erreur de compilation: no matching function for call to ‘croix(glm::vec4&, glm::vec4&)’

glm::vec4 a;
glm::vec4 b;
glm::vec4 c = glm::cross(a, b);

mais il fonctionne très bien pour vec3?

InformationsquelleAutor Kimi | 2012-05-25