simple question

I have:

glm::vec3 x(3,2,3)

I now want to change x to

1,4,-1

How do I do this?


x = glm::vec3(1,4,-1);

Thanks, that worked.

Need to close the thread. Can anyone tell me how?thx

This forum doesn’t have a concept of “closing” threads. Once a thread has been created, it usually remains open forever. Occasionally people post to threads which have been dormant for years (usually because the thread came up in a search).