锘??xml version="1.0" encoding="utf-8" standalone="yes"?> 鍦–璇█涓紝鍋囪鎴戜滑鏈夎繖鏍風殑涓涓嚱鏁幫細 緇忔祴璇曪紝铏界劧%d.gravatar.com涓嶈兘璁塊棶錛屼絾鏄痝ravatar.com榪樻槸鍙互璁塊棶鐨勶紝鍥犳瑙e喅鏂規硶涔熷緢綆鍗曪細 灝?#8221;wp-includes/pluggable.php”鏂囦歡涓殑1649-1652琛岋細 涓嬮潰鏄竴涓緥瀛愶紝灞曠ず浜嗘庢牱鎵╁睍IEnumerable鎺ュ彛錛屽鍔犱竴涓猂andomSelect鐨勬柟娉曠敤浜庡湪琛ㄤ腑闅忔満閫夊彇鍏冪礌銆?/p> 闃呰鍏ㄦ枃錛?65瀛楋級
闃呰鍏ㄦ枃錛?746瀛楋級
鏂囩珷鏉ユ簮:http://gccfeli.cn/2010/10/calling-convention.html
]]>
鏂囩珷鏉ユ簮:http://gccfeli.cn/2010/10/codecolorer-insert-code-in-wysiwyg-editor.html
]]>
]]>
鏂囩珷鏉ユ簮:http://gccfeli.cn/2010/10/win7-solve-80-port-occupied.html
]]>
鏂囩珷鏉ユ簮:http://gccfeli.cn/2010/10/c-generic-extend-method.html
Axp鏂囦歡鏍煎紡澶ц嚧涓婂涓嬶細
1.鏂囦歡澶達紱
2.绱㈠紩琛紱
3.鏂囦歡鍚嶈〃錛?br>4.鏁版嵁銆?br>鍏朵腑錛屾枃浠跺悕琛ㄤ互鏂囦歡鍚嶄負(list)鐨勬枃浠跺瓨鍦ㄤ簬鏁版嵁褰撲腑銆傛垜鎯籌紝涔嬫墍浠ヨ鏈夎繖涔堜竴涓笢瑗匡紝鑰屼笉鍜岀儲寮曡〃鍚堜簩涓轟竴錛屾亹鎬曟槸鍥犱負鏂囦歡鍚嶆槸鍙橀暱涔嬫晠鍚с?br>
Axp鏂囦歡澶寸殑鏍煎紡澶ц嚧涓猴細
1. 鏂囦歡鏍囩ず錛屼竴鑸負瀛楃涓?#8220;AXPK”錛屽畠鍗犳嵁浜嗗洓涓瓧鑺傦紝鍗犳嵁絀洪棿涓?x00-0x04錛?br>2.绱㈠紩琛ㄥ亸縐婚噺錛屼負unit錛屽畠鍗犳嵁浜嗗洓涓瓧鑺傦紝鍗犳嵁鐨勭┖闂翠負錛?x10-0x13錛?br>3.鏂囦歡鏁幫紝涓簎nit錛屽畠鍗犳嵁浜嗗洓涓瓧鑺傦紝鍗犳嵁鐨勭┖闂翠負錛?x14-0x17銆?br>鏂囦歡澶村崰鎹?0涓瓧鑺傦紝鏃㈡槸鍦?x00-0x27鐨勭┖闂村唴銆?br>
涓鑸潵璇達紝绱㈠紩琛ㄧ殑鍋忕Щ閲忎負錛?x60028錛屾暟鎹尯鐨勫亸縐婚噺涓猴細0x160028.
涓嶈繃榪樻槸渚濈収浠ヤ笅嫻佺▼鑾峰彇鍋忕Щ閲忎負濂斤細
1.鑾峰彇鏂囦歡澶寸殑绱㈠紩琛ㄥ亸縐婚噺錛?br>2.浣跨敤绱㈠紩琛ㄥ亸縐婚噺瀹氫綅鍒版枃浠跺叿浣撲綅緗紱
3.浣跨敤鏂囦歡澶磋幏鍙栧埌鐨勬枃浠舵暟鏉ヨ鍙栨枃浠舵暟鏉$儲寮曪紱
4.鏍規嵁绱㈠紩鏌ユ壘鏂囦歡銆?br>鍦?
榪欓噷鎴戞槸寰堢撼闂風殑錛氭枃浠跺悕琛ㄦ枃浠舵病鏈夌壒孌婁綅緗紝涔熶技涔庢病鏈夌湅鍒版湁鏂囦歡澶翠繚瀛樼殑鍋忕Щ閲忔寚鍚戝畠錛屽浣曞幓鑾峰彇榪欎釜鏂囦歡鏄釜寰堜護鎴戝洶鎵扮殑浜嬫儏銆傚彟澶栵紝琛ㄩ噷闈㈢殑鏂囦歡
鍚嶉『搴忓拰璧勬簮鍖呴噷闈㈢殑鏂囦歡鎺掑垪欏哄簭浼間箮鏄病鏈変竴涓『搴忓搴旂殑鍏崇郴鐨勩傚浣曞皢绱㈠紩琛ㄥ拰鏂囦歡鍚嶈〃榪涜鍏寵仈錛屽張鏄竴涓護浜哄洶鎵扮殑浜嬫儏錛屾垨璁歌兘澶熻В閲婇氱殑澶ф灝辨槸
浠栦滑鏄鍙栧悗闇瑕佹帓搴忕殑錛屾垨鑰呰榪樻湁浠涔堢壒鍒殑鐩稿叧鏁版嵁鎴戞病鏈夎幏鍙栧埌銆?br>
绱㈠紩琛ㄧ殑绱㈠紩錛?br>1.鍋忕Щ閲忥紝unit錛?br>2.鏂囦歡澶у皬錛寀nit錛?br>3.鏍囧織浣嶏紝unit錛岀幇鍦ㄤ技涔庡彧鏈?x00000000鍜?x80000000涓や釜鏍囪瘑錛岀敤浜庢爣紺鴻鏂囦歡鏄惁鍙互琚嬌鐢ㄦ垨鑰呭凡緇忚鍒犻櫎銆?br>
鍒扮幇鍦ㄤ負姝紝鏈浠ゆ垜鍥版儜鐨勫氨鏄偅涓ゅ紶琛ㄨ濡備綍榪涜鍏寵仈鍜岀粦瀹氭暟鎹傝繕鏈夊氨鏄浣曞幓鑾峰彇鏂囦歡鍚嶈〃銆?img src ="http://www.shnenglu.com/Felicia/aggbug/72566.html" width = "1" height = "1" />
]]>
緗戠粶娓告垙銆婂ぉ榫欏叓閮ㄣ嬮噰鐢ㄧ殑鏄疧gre3d浣滀負鍏跺鎴風娓叉煋寮曟搸錛屼粬浠涔嬪仛浜嗚澶氳嚜瀹氫箟鐨勪慨鏀癸紝鍦ㄨ繖閲屼綔涓哄涔犲彧鐢紝鐗瑰埆璇存槑涓涓嬪叾鑷畾涔夌殑Skeleton鐨勬牸寮忥紝浠ュ強濡備綍鍔犺澆鐨勫姙娉曘?br>
澶╅緳鍏儴鍔犲叆浜嗚繖鏍蜂竴涓尯孌碉細
SKELETON_HEADER = 0x1000,
// char* version : Version number check
SKELETON_BONE = 0x2000,
// Repeating section defining each bone in the system.
// Bones are assigned indexes automatically based on their order of declaration
// starting with 0.
// char* name : name of the bone
// unsigned short handle : handle of the bone, should be contiguous & start at 0
// Vector3 position : position of this bone relative to parent
// Quaternion orientation : orientation of this bone relative to parent
// Vector3 scale : scale of this bone relative to parent
SKELETON_BONE_PARENT = 0x3000,
// Record of the parent of a single bone, used to build the node tree
// Repeating section, listed in Bone Index order, one per Bone
// unsigned short handle : child bone
// unsigned short parentHandle : parent bone
SKELETON_ANIMATION = 0x4000,
// A single animation for this skeleton
// char* name : Name of the animation
// float length : Length of the animation in seconds
SKELETON_ANIMATION_TRACK = 0x4100,
// A single animation track (relates to a single bone)
// Repeating section (within SKELETON_ANIMATION)
// unsigned short boneIndex : Index of bone to apply to
SKELETON_ANIMATION_TRACK_KEYFRAME = 0x4110,
// A single keyframe within the track
// Repeating section
// float time : The time position (seconds)
// Quaternion rotate : Rotation to apply at this keyframe
// Vector3 translate : Translation to apply at this keyframe
// Vector3 scale : Scale to apply at this keyframe
SKELETON_ANIMATION_TRACK_MULTI_KEYFRAME = 0x4120,
// A multiple keyframe within the track
// Repeating section
// float length : Length of the animation in seconds
// float flags : Length of the animation in seconds
// float time : The time position (seconds)
// Quaternion rotate : Rotation to apply at this keyframe
// Vector3 translate : Translation to apply at this keyframe
SKELETON_ANIMATION_LINK = 0x5000
// Link to another skeleton, to re-use its animations
// char* skeletonName : name of skeleton to get animations from
// float scale : scale to apply to trans/scale keys
};
鐒跺悗鎴戜滑鎵撳紑OgreSkeletonSerializer.cpp鎵懼埌SkeletonSerializer::readAnimationTrack鐨勫疄鐜幫紝鐒跺悗鏇挎崲涓轟笅闈㈢殑浠g爜:
Skeleton* pSkel)
{
// unsigned short boneIndex : Index of bone to apply to
unsigned short boneHandle;
readShorts(stream, &boneHandle, 1);
// Find bone
Bone *targetBone = pSkel->getBone(boneHandle);
// Create track
NodeAnimationTrack* pTrack = anim->createNodeTrack(boneHandle, targetBone);
// Keep looking for nested keyframes
if (!stream->eof())
{
unsigned short streamID = readChunk(stream);
while( (streamID == SKELETON_ANIMATION_TRACK_KEYFRAME || streamID == SKELETON_ANIMATION_TRACK_MULTI_KEYFRAME)
&& !stream->eof())
{
if (streamID == SKELETON_ANIMATION_TRACK_MULTI_KEYFRAME)
{
// TLBB 鏂板浜嗘閮ㄥ垎
unsigned short len;
unsigned short flags;
readShorts(stream, &len, 1);
readShorts(stream, &flags, 1);
int count = (mCurrentstreamLen - 4 - 4) / 4;
if (len != count / 8)
{
len = len;
}
float time;
for (int i = 0; i < len; i += 1)
{
readFloats(stream, &time, 1);
TransformKeyFrame *kf = pTrack->createNodeKeyFrame(time);
Quaternion rot = Quaternion::IDENTITY;
if (flags & 1)
{
readObject(stream, rot);
}
kf->setRotation(rot);
Vector3 trans = Vector3::ZERO;
if (flags & 2)
{
readObject(stream, trans);
}
kf->setTranslate(trans);
}
}
else
{
readKeyFrame(stream, pTrack, pSkel);
}
if (!stream->eof())
{
// Get next stream
streamID = readChunk(stream);
}
}
if (!stream->eof())
{
// Backpedal back to start of this stream if we've found a non-keyframe
stream->skip(-STREAM_OVERHEAD_SIZE);
}
}
}
http://www.shnenglu.com/tx7do/archive/2008/12/09/68897.html
]]>
姝log鐨勬枃绔犲凡鍏ㄩ儴杞Щ
嬈㈣繋璁塊棶
o(∩_∩)o...
]]>
闃呰鍏ㄦ枃
]]>
灝辮繖鏍瘋蛋浜嗗悧 浣犲彲鐭ラ亾 鎴戠煡閬撲綘浼氬洖鏉?br>鍦ㄨ繖鐔熸倝璺彛 璁╂垜闈欓潤絳変綘鍐嶆鍑虹幇 |