- 博客(11)
- 资源 (153)
- 收藏
- 关注
转载 移植过来的Xcode设置路径
移植过来的Xcode设置路径作者: xCocoa 分类: iOS开发 发布时间: 2013-08-07 15:28 ė13,448 次浏览 6没有评论如果你的xCode不是通过App Store安装的,而是通过dmg或者拷贝app的方式安装。或者你的系统里面安装了多个版本的Xcode,可能使用命令行编译程序的时候会遇到麻烦。 出现:could not sta
2014-09-20 23:49:40 380
转载 mac 小工具
FinderPath, cdto, OpenInTextMate, OpenInMacVim, OpenIniTerm – 5个小工具让Finder更顺手by osxtoy · 2011/02/14FinderPathOpenInMacVimOpenInTextMatecdto
2014-09-20 09:59:57 505
转载 rgb to yuv 互相转化
说明:下面的代码用C\C++执行都可以,用C的时候请把#include 删除。RGB to YUV420 原代码: RGB2YUV.CPP文件[cpp] view plaincopy#include #include #include #include //转换矩阵 #define MY(a,b,c) (( a* 0.2989 + b*
2014-09-18 10:27:05 2988 1
转载 opengl png 背景为黑色的问题。
将png图片作为纹理贴图,在图片周围会产生黑边,在网上查了一下,都没有明确指出解决方法!废话不说了,看代码。1.初始化 [java] view plaincopyprotected void init(GL10 gl) { // Setup background color gl.glClearColor(1, 1, 1, 1);
2014-09-15 10:43:55 2855
转载 opengl 单色透明
先要将图的alpha值设置一下,即将透明的地方先用但一色表示,然后遇到该颜色 则将其alpha值设为1,其他可以保持不变 这样就可以在opengl夏读入了,注意激活融合 关于画树: void DrawTree()//绘制树{ ///////////////////////////// /////////画树程序////////
2014-09-15 10:11:50 615
转载 easyBMP 的使用
#include "EasyBMP.h"int array[3][3]={{0,1,0,},{1,0,1,},{0,1,0,},};//数组转图像void array2bmp(){ int i,j; BMP bmp; RGBApixel pix_black={0};//R=0 G=0 B=0为黑色 RGBApixel pix_white={255,
2014-09-12 17:54:54 1290
转载 AUX_RGBImageRec linux android 替换
因为最近学习opengl,看的都是windows下的opengl例子代码,在windows下用AUX_RGBImageRec来存储图像文件的数据,在Linux下没有该函数和库,所以我找到了一个替换该方案的办法,使用freeimage库,该库简单好用。在原文件中定义如下一个结构:struct _AUX_RGBImageRec {unsigned long sizeX;unsign
2014-09-12 17:17:55 881
原创 ulipad4 mac 安装方法
ulipad.4.1.zip(源码):wxPython2.8-osx-unicode-2.8.12.0-universal-py2.7.dmg下载地址:https://code.google.com/p/ulipad/downloads/listhttp://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.0/
2014-09-06 12:07:49 1054
转载 wxpython 不能运行在64位 mac 电脑上的解决方法
The problem is that WxPython is only available on the Mac in 32-bit mode; however, by default, Python will start up in 64-bit mode. To fix this problem, create the following shell script namedpython
2014-09-05 10:39:37 1071 1
转载 brew 选择版本
Lets say we want to install (or downgrade to) node 0.6.19 instead of the newest version.If you already have node, uninstall current version with:$ brew uninstall nodeThen search for availab
2014-09-05 10:26:44 3305
python 标准库 中文版
2015-10-28
python 标准库 英文版及代码
2015-10-28
无顺序 map c++ vs2010-vs2022都可以编译的 版本
2023-09-21
java jdbc maven test
2019-03-31
ios jsoncpp jsonkit test
2016-12-22
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人