• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling 'round': identifier not found

kikol

New Member
Joined
May 3, 2019
Messages
17
Reaction score
0
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
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
 
Back
Top