Gets a temporary vector. If a vector is passed in it will be copied to the temporary vector Temporary vectors are cached and reused internally. Don't store them!
a temporary vector
const vec = getTempVector(1, 2, 3);const vec2 = getTempVector(vec);const vec3 = getTempVector(new Vector3(1, 2, 3));const vec4 = getTempVector(new DOMPointReadOnly(1, 2, 3));const vec5 = getTempVector(); Copy
const vec = getTempVector(1, 2, 3);const vec2 = getTempVector(vec);const vec3 = getTempVector(new Vector3(1, 2, 3));const vec4 = getTempVector(new DOMPointReadOnly(1, 2, 3));const vec5 = getTempVector();
Gets a temporary vector. If a vector is passed in it will be copied to the temporary vector
Temporary vectors are cached and reused internally. Don't store them!