-
Notifications
You must be signed in to change notification settings - Fork 0
et_scaleVec3f
DeveloperGY edited this page Apr 17, 2023
·
2 revisions
et_Vec3f et_scaleVec3f(et_Vec3f v, float s);et_Vec3f v: The vector to scale
float s: The value to scale by
et_Vec3f: The scaled vector
Scales a vector by a specified magnitude based on the origin
This is used to scale a vector by the scale value specified
et_Vec3f vec = et_genVec3f(3, 4 ,5);
vec = et_scaleVec3f(vec, 5.0f);