PDA

View Full Version : simple question



technologist
10-03-2017, 09:26 AM
I have:

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

I now want to change x to

1,4,-1

How do I do this?

GClements
10-03-2017, 12:38 PM
x = glm::vec3(1,4,-1);

technologist
10-04-2017, 06:20 AM
x = glm::vec3(1,4,-1);


Thanks, that worked.

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

GClements
10-04-2017, 10:57 AM
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).