找回密码
 注册
Simdroid-非首页
查看: 110|回复: 2

[命令/FISH] 请教一下FLAC3D用户手册里的一段代码,没有看懂,希望有人可以帮忙看一下,先谢了

[复制链接]
发表于 2014-11-1 17:54:00 | 显示全部楼层 |阅读模式 来自 北京
def p_load
  load_head=null
  pnt=gp_head
  loop while pnt#null
    if gp_zpos(pnt)>3.3 then
      if gp_xpos(pnt)<0.90 then
        if gp_ypos(pnt)<1.6 then
          if gp_ypos(pnt)>0.90 then
            mpnt=get_men(2)
            mem(mpnt)=load_head
            mem(mpnt+1)=pnt
            load_head=mpnt
          endif
        endif
      endif
    endif
    pnt=gp_next(pnt)
  endloop
end
p_load
发表于 2014-11-1 23:42:21 | 显示全部楼层 来自 四川成都
Simdroid开发平台
链表,画个图给你解释:

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复 不支持

使用道具 举报

 楼主| 发表于 2014-11-3 09:21:51 | 显示全部楼层 来自 北京
谢谢   学习了····
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Simapps系列直播

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-9-24 00:27 , Processed in 0.026194 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表