Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: GLM Implicit Conversions

  1. #1
    Newbie Newbie
    Join Date
    Oct 2011
    Posts
    2

    GLM Implicit Conversions

    Hello, I was wondering how is the support for GLSL implicit conversions in GLM. For example, If I try to do something like
    Code :
    a*b
    where
    Code :
    glm::vec2 a;
    glm::ivec2 b;
    The templates are not able to find a match and compilation fails. On GLSL the ivec2 would be converted to vec2. Is there something that I'm overlooking or it is just a limitation of the library?

  2. #2
    Super Moderator Frequent Contributor Groovounet's Avatar
    Join Date
    Jul 2004
    Posts
    937
    I am afraid that this is not supported...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •