I have a template function, protoype:
template<typename type_float> void rotate_deg(type_float point[3], type_float vec[3], type_float theta);
float v1[3] = {-1.0,0.0,-1.0};float y_axis[3] = {0,1,0};rotate_deg<float>(v1, y_axis, (float)xzangle);
error LNK2019:unresolved external symbol "void __cdecl rotate_deg<float>(float * const,float * const,float)" (??$rotate_deg@M@@YAXQAM0M@Z)referenced in function [long function definition]
What is the problem, and how can it be resolved?Thanks,
-G