摘要:
glClearDepthf函数名:glClearDepthf — 指定深度缓冲区的清除值函数原型:void glClearDepthf( GLclampf depth );参数含义:depth ——指定一个深度值。该值将被用于glClear函数清理深度缓冲区,初始值为1。描述:glClearDept... 阅读全文
阅读排行榜
C++ vector 用法汇总
2013-03-18 12:25 by 三戒1993, 467 阅读, 收藏,
摘要:
标准库Vector类型使用需要的头文件:#include Vector:Vector 是一个类模板。不是一种数据类型。 Vector是一种数据类型。一、 定义和初始化Vector v1; //默认构造函数v1为空Vector v2(v1);//v2是v1的一个副本Vector v3(n,i);//v... 阅读全文
NDK note: the mangling of 'va_list' has changed in GCC 4.4
2012-11-19 13:54 by 三戒1993, 467 阅读, 收藏,
摘要:
每次ndk-build都会提示:In file included from jni/fskmodule.cpp:7:0:/xxxx/usr/include/jni.h:592:13: note: the mangling of 'va_list' has changed in GCC 4.4解决办法... 阅读全文
locationManager 回调方法不调用问题?
2013-10-09 15:58 by 三戒1993, 462 阅读, 收藏,
摘要:
当locationManager都设置好了后开始定位服务后回调方法didUpdateToLocation不调用[_locationManager setDelegate:self];[_locationManagerstartUpdatingLocation];结果花了几个小时发现我是在非主线程里调... 阅读全文
Android 系统字体和颜色样式
2013-08-15 15:28 by 三戒1993, 462 阅读, 收藏,
摘要:
Android 字体和颜色对于能够显示文字的控件(如TextView EditText RadioButton Button CheckBox Chronometer等等),你有时需要控制字体的大小。Android平台定义了三种字体大小。java代码:"?android:attr/textAppea... 阅读全文
浙公网安备 33010602011771号