09 2017 档案

摘要:CMake自带的FindZLIB.cmake只有ZLIB_LIBRARY,而没有ZLIB_LIBRARY_DEBUG 将下面的代码保存成FindZLIB.cmake,替换掉D:\Program Files (x86)\CMake\share\cmake-3.3\Modules\FindZLIB.cm 阅读全文
posted @ 2017-09-24 16:55 酷熊 阅读(1342) 评论(0) 推荐(0) 编辑
摘要:1、新建一个Unity5.6.2f1工程,导入正版Bluetooth LE for iOS tvOS and Android.unitypackage2、用JD-GUI反编译工具查看unityandroidbluetoothlelib.jar3、将反编译的代码拷贝出来,建立对应的文件目录,4、在Ec 阅读全文
posted @ 2017-09-19 14:53 酷熊 阅读(6060) 评论(1) 推荐(0) 编辑
摘要:void OnGUI() { if (Event.current != null && Event.current.type == EventType.mouseDown) { if (Input.GetMouseButton(0)) { Ray ray = Camera.ma... 阅读全文
posted @ 2017-09-13 12:24 酷熊 阅读(1711) 评论(0) 推荐(0) 编辑
摘要:osg::Node* createPyramidModel() { // create the root node which will hold the model. osg::Group* root = new osg::Group(); // turn off lighting root->getOrCreateStateSet()->setMode(GL... 阅读全文
posted @ 2017-09-07 15:58 酷熊 阅读(1387) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示