Tekkaman

导航

 

2014年2月22日

摘要: 【Type Encodings】 The compiler encodes the return and argument types for each method in a character string and associates the string with the method selector. 编译器把方法的返回值类型与参数类型encode成字符串,然后把此字符串与method selector关联起来。 When given a type specification, @encode() returns a string encoding that type. Th... 阅读全文
posted @ 2014-02-22 19:47 Tekkaman 阅读(568) 评论(0) 推荐(0)
 
摘要: 【欧拉角的缺点】欧拉证明了一个旋转序列等价于单个旋转。1、将一个角度加上360的倍数时,方向会一致。导数值表现形式不一致。2、更麻烦的是pitch135度等价于heading180,pitch45,bank180。也是不同的数表现形式代表着一致的方位问题。3、对720度这样的角度进行线性插值会得到不连续的动画效果。参考《3D数学基础》10.3节 阅读全文
posted @ 2014-02-22 10:30 Tekkaman 阅读(906) 评论(0) 推荐(0)