#includeIn the above example, we use the glm library to declare a 3D vector and set its x, y, and z values using the Set function. Package library: glm#include int main() { glm::vec3 myVector; // declare a 3D vector myVector.x = 1.0f; // set x value myVector.y = 2.0f; // set y value myVector.z = 3.0f; // set z value return 0; }