No insert function for Vec3Df in vector3d.h
Posted: 2020-07-09, 14:39:23
I can do
Vec4f A;
A.insert(0, 1.0f);
But can't do
Vec3Df A;
A.insert(0,1.0f);
Vec4f A;
A.insert(0, 1.0f);
But can't do
Vec3Df A;
A.insert(0,1.0f);
News and research about CPU microarchitecture and software optimization
https://agner.org/forum/
Code: Select all
A = A.to_vector().insert(0,1);
Code: Select all
A = Vec3Df(A.to_vector().insert(0,7));