游戏开发论坛

 找回密码
 立即注册
搜索
查看: 1457|回复: 0

?focus on 3d terrain????????renderNode???????

[复制链接]

9

主题

15

帖子

15

积分

新手上路

Rank: 1

积分
15
发表于 2011-8-23 16:21:00 | 显示全部楼层 |阅读模式
????focus on 3d terrain????????renderNode??????
???????


  1. char g_cQTFanCode[] = { 10, 8, 8, 12, 8, 0, 12, 14, 8, 12, 0, 14, 12, 14, 14, 0 };
  2. char g_cQTFanStart[]= { 3,  3, 0,  3, 1, 0,  0,  3, 2,  2, 0,  2,  1,  1,  0, 0 }; //(thanks to Chris Cookson for this idea)                        
  3. iStart= g_cQTFanStart[iFanCode];                         
  4. iFanLength= 0;                         
  5. //calculate the fan length by computing the index of the first non-zero bit in g_cQTFanCode                         while( !( ( ( long )g_cQTFanCode[iFanCode] )&( 1<<iFanLength ) ) && iFanLength<8 )                                 iFanLength++;
  6. //..........................
复制代码

?????????????????????????????????????????
char g_cQTFanCode[] = { 10, 8, 8, 12, 8, 0, 12, 14, 8, 12, 0, 14, 12, 14, 14, 0 };
char g_cQTFanStart[]= { 3,  3, 0,  3, 1, 0,  0,  3, 2,  2, 0,  2,  1,  1,  0, 0 };
?????????????
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2025-11-22 13:25

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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