g-truc / glm

OpenGL Mathematics (GLM)
https://glm.g-truc.net
Other
9.1k stars 2.12k forks source link

glm::vec Algorithms are Floating-Point Restricted #1229

Open c0nstexpr opened 7 months ago

c0nstexpr commented 7 months ago

May be we should add GLM_CONFIG_UNRESTRICTED_GENTYPE to the check? https://github.com/g-truc/glm/blob/33b0eb9fa336ffd8551024b1d2690e418014553b/glm/detail/func_geometric.inl#L130