Vector3 position(1.0f, 2.0f, 3.0f); Vector3 direction(0.0f, 1.0f, 0.0f);
Vector3 v1(1.0f, 2.0f, 3.0f); Vector3 v2(3.0f, 2.0f, 1.0f); Vector3 result = v1 + v2;In this example, we create two Vector3 objects and add them together, storing the result in a third Vector3 object. Package libraries that may include Vector3 are glm, Eigen and assimp.