码迷,mamicode.com
首页 >  
搜索关键字:set matrix zeroes    ( 60632个结果
u3d发布成全屏的方式
using UnityEngine;using System.Collections;public class example : MonoBehaviour {public void Awake() {Screen.SetResolution(1024, 768, true);//自己想要的分辨率...
分类:其他好文   时间:2014-06-06 22:26:24    阅读次数:165
Android两种旋转Bitmap方法比较
方法1. 利用Bitmap.createBitmap Bitmap adjustPhotoRotation(Bitmap bm, final int orientationDegree) { Matrix m = new Matrix(); m.setRotate(...
分类:移动开发   时间:2014-06-06 21:59:25    阅读次数:236
mysql 触发器
1、触发器:trigger 1、触发器创建语法4要素: 1、监视地点:table 2、监视事件:insert / update / delete 3、触发时间:after / before 4、触发事件:insert / update / delete 2、需求: 1、商品表:goods 订单表:....
分类:数据库   时间:2014-06-04 16:20:35    阅读次数:356
UIButton部分功能设置(一):
UIButton作为最常用的界面元素,其高效率的用户交互,常常在众多元素中,作为首选,其他许多细小的设置,又容易忘记,为了自己以后可以方便查找,整理笔记如下:// UIButton中内置了UIImageView和UILable两个属性,这两个属性都是read-only,修改只能通过SET方法来处.....
分类:其他好文   时间:2014-06-04 15:41:25    阅读次数:231
projecteuler---->problem=14----Longest Collatz sequence
title: The following iterative sequence is defined for the set of positive integers: n n/2 (n is even) n 3n + 1 (n is odd) Using the rule above and starting with 13, we generate the followi...
分类:其他好文   时间:2014-06-04 13:56:33    阅读次数:254
Error Code: 2006 - MySQL 鏈嶅姟鍣ㄥ凡绂荤嚎
将sql文件导入到mysql时候,就一直报这个错误。我试过网上各种方法都行不通。最后将下面一句执行了一下就可以了,而且没有重启mysql。 SET GLOBAL max_allowed_packet=67108864;...
分类:数据库   时间:2014-06-04 13:13:30    阅读次数:303
Hashkell 第一篇
心情极差。。。。。。。。。。。。。。。。。。无事可做,其实是没心情去做事情,只好又翻起了haskell入门记下几点,以备查询:1. 函数名首字符是不可以大写的, 而且名称中可以有单引号,这也是合法的2. if语句中else部分是不可以省略的3. 函数声明无先后顺序4. 数字5既可以是整形也可...
分类:其他好文   时间:2014-06-03 16:38:10    阅读次数:289
Android Matrix(转)
Matrix的数学原理平移变换旋转变换缩放变换错切变换对称变换代码验证Matrix的数学原理在Android中,如果你用Matrix进行过图像处理,那么一定知道Matrix这个类。Android中的Matrix是一个3 x 3的矩阵,其内容如下:Matrix的对图像的处理可分为四类基本变换:Tran...
分类:移动开发   时间:2014-06-03 16:15:27    阅读次数:560
2014-4-25 运行号:837134 素数求和
#include #include #include #include #include #include #include using namespace std;bool pre_arry[1100];void pre_cnt() //素数筛{ memset(pre_arry,1,sizeof....
分类:其他好文   时间:2014-06-03 14:57:38    阅读次数:259
PHP ini_set() 函数
PHP ini_set用来设置php.ini的值,在函数执行的时候生效,对于虚拟空间来说,很方便,下面为大家介绍下此方法的使用PHP ini_set用来设置php.ini的值,在函数执行的时候生效,脚本结束后,设置失效。无需打开php.ini文件,就能修改配置,对于虚拟空间来说,很方便。 函数格式:...
分类:Web程序   时间:2014-06-02 18:18:16    阅读次数:228
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!