标题:谁知道这是怎么回事?
取消只看楼主
gogogo208
Rank: 1
等 级:新手上路
帖 子:14
专家分:0
注 册:2006-6-19
 问题点数:0 回复次数:0 
谁知道这是怎么回事?

void p3(int X,int Y,float r1,float r2,float x1,float x2,float h1,float h2,float b1,float b2)
{


rectangle(X-x1-x2,Y+2r1+h1,X-x1-x2+x2,Y+2r1+h1+2*b1+b2);
rectangle(X-x1-x2+x2,Y+2r1+h1+2*b1+b2,X-x1-x2,Y+2r1+h1+2*b1+2*b2);
rectangle(X-x1-x2+x2,Y+2r1+h1+2*b1+b2,X-x1-x2+x2+2*x1,Y+2r1+h1+2*b1+2*b2);
rectangle(X-x1-x2+x2+2*x1,Y+2r1+h1+2*b1+2*b2,X-x1-x2+2*x2+2*x1,Y+2r1+h1+2*b1+b2);
rectangle(X-x1-x2+2*x2+2*x1,Y+2r1+h1+2*b1+b2,X-x1-x2+x2+2*x1,Y+2r1+h1);
rectangle(X-x1-x2+x2+2*x1,Y+2r1+h1,X-x1-x2+x2+r2,Y+2r1+h1+b1);
rectangle(X-x1-x2+x2+r2,Y+2r1+h1+b1,X-x1-x2+x2+x1-r2,Y+2r1+h1);
rectangle(X-x1-x2+x2+x1-r2,Y+2r1+h1,X-x1-x2+x2,Y+2r1+h1+b1);
rectangle(X-x1-x2+x2,Y+2r1+h1+b1,X-x1-x2+x2+2*x2,Y+2r1+h1+2*b1+2*b2);
rectangle(X-x1-x2+x2+2*x2,Y+2r1+h1+2*b1+2*b2,X-x1-x2+x2+2*x1,Y+2r1+h1+b1+b2);
rectangle(X-x1-x2+x2+x1+r1,Y+2r1+h1+b1+b2,X-x1-x2+x2+x1-r1,Y+2r1+h1+b1+b2);
rectangle(X-x1-x2+x2+x1-r1,Y+2r1+h1+b1+b2,X-x1-x2+x2,Y+2r1+h1+2*b1+b2);
}
运行说少括号,晕

搜索更多相关主题的帖子: void 
2006-07-03 22:49



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-76380-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.064120 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved