Compilation error with bresenham line algorithm?

后端 未结 1 1394
無奈伤痛
無奈伤痛 2021-01-27 20:45
#include 
#include 
#include 

int x0,y0,xn,yn;

void bresenham(void)
{
    int dx,dy,m,pk,xk,yk,k;
    glClear(GL_COLOR_BU         


        
相关标签:
1条回答
  • 2021-01-27 21:16

    why it is showing y0 &yn are redeclared as different kind of symbol

    Because you are:

    The y0(), y1(), and yn() functions shall compute Bessel functions of x of the second kind of orders 0, 1, and n, respectively.

    Switch to different names or don't #include <math.h>.

    0 讨论(0)
提交回复
热议问题