登录
首页 » 算法 » GLUT鼠标交互

GLUT鼠标交互

于 2022-10-23 发布 文件大小:838.20 kB
0 138
下载积分: 2 下载次数: 1

代码说明:

实现直线段和多边形的扫描转换,利用基于GLUT平台交互式程序验证算法有效性,支持用户用鼠标画直线(bresenham法实现)、多边形(扫描线转换算法)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 最短小的dvd解码程序
    最短小的dvd解码程序-shortest small DVD decoding procedures
    2022-03-05 07:14:10下载
    积分:1
  • Super 8 after the algorithm, only a dozen lines of code derived entirely all sol...
    超强的八后算法,只有十几行代码完全求出所有解,速度超快-Super 8 after the algorithm, only a dozen lines of code derived entirely all solutions, speed Ultrafast
    2023-04-19 07:05:03下载
    积分:1
  • 拟牛顿求非线性方程组的一组实数解
    拟牛顿法求非线性方程组的一组实数解-quasi-Newton method of nonlinear equations for a group of real solutions
    2022-01-25 19:17:01下载
    积分:1
  • 输油管道计程序
    本程序包含输油管道的一个计算程序,用Vb写成,主要参考《输油管道设计》里面的计算公式,可以计算管径,温降,压力降等
    2022-05-17 21:21:17下载
    积分:1
  • 新型GA
    一种好的改进遗传算法function [opy,optimy]=GA(pt,gennum,psize)% 输入参数:% pt       m*n的加工时间矩阵(n是工件数目,m是机器数目)由已知给的T矩阵,可得n=100,m=10% gennum   迭代的次数(代数)% psize    种群的规模大小%输出参数:% opy       最优的Makespan值pc=0.9;%交叉因子pm=0.1;%变异因子[m,n]=size(pt);current_gen=1;%current_gen means the current generationnewgen=zeros(psize,n+1); %mewgen is the new generation of the populationnewgen(1:psize,1:n)=rand(psize,n);%主种群初始化,0-1之间的随机数 %Generalize the initial groupfather=zeros(2,n); %father is used to store the two genes for crossover and mutation avgen=zeros(1,gennum); %avgen is the matrix of the average of all the generationsoptimx=zeros(1,n);optimy=ones(1,gennum);%Generalize the initial groupfor i=1:psize    [Ya,pop(i,1:n)]=sort(newgen(i,1:n));%种群排序,实数编码转换为自然数编码 随机生成的0-1之间的小数进行排序然后取每个从小到大数对应的位置    newg
    2022-03-18 14:25:18下载
    积分:1
  • edma3456wewewawe
    fxhgggggggggggggggggggggggggggggggggggfxtsrtsdystrrrrrrrrrrrrrrydgfbdvffdfdfgfgfgfgfhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
    2022-12-18 15:45:03下载
    积分:1
  • 可用于ansys模型向flac转换.相当实用的岩土体数值计软件伴侣!...
    可用于ansys模型向flac转换.相当实用的岩土体数值计算软件伴侣!-ANSYS model can be used to convert to FLAC. Considerable body of practical numerical calculation of geotechnical software partners!
    2022-08-11 21:00:42下载
    积分:1
  • 本程序用FORTRAN求解gauss_seidel写。这是字文件。
    this a program written by fortran for solving Gauss_Seidel. it s in word file.-this is a program written by fortran for solving Gauss_Seidel. it s in word file.
    2022-04-17 08:18:38下载
    积分:1
  • 最新的Levenberg Marquardt 。用于非线性最小二乘问题的参数估计和优化!...
    最新的Levenberg Marquardt 算法。用于非线性最小二乘问题的参数估计和优化!-Latest Levenberg Marquardt algorithm. Nonlinear least squares problem for parameter estimation and optimization!
    2022-02-03 14:22:20下载
    积分:1
  • 神经网络和遗传
    资源描述综合了神经网络和遗传算法,可以用于参数的优化
    2022-12-07 01:15:03下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载