Hi, does anyone know how to solve this problem when compiling?
error:
1>..\combat.cpp(1220): error C3861: 'round': identifier not found
1>..\combat.cpp(1221): error C3861: 'round': identifier not found
Part of the code affected by the error
error:
1>..\combat.cpp(1220): error C3861: 'round': identifier not found
1>..\combat.cpp(1221): error C3861: 'round': identifier not found
Part of the code affected by the error
C++:
//calculate new coordinates using rotation center
int32_t newX = x - centerX, newY = y - centerY,
rotatedX = round(newX * a + newY * b),
rotatedY = round(newX * c + newY * d);
//write in the output matrix using rotated coordinates