本篇研究 暴走武侠 效果。直接贴代码Shader "Cg shader with single
texture" { Properties { _MainTex ("Texture Image", 2D) = "white" {} _MainTex1
("Texture I...
分类:
其他好文 时间:
2014-05-12 10:25:57
阅读次数:
340
function Box(){}var box = new
Box();alert(box.prototype); //使用对象实例无法访问到prototypealert(box._proto_);
//输出[object][object] 使用对象实例可以访问prototype的指针alert.....
分类:
其他好文 时间:
2014-05-12 10:09:33
阅读次数:
255
点语法点语法本质是函数的调用,不是像java中那样,是用来访问成员变量的;oc中访问成员变量是用 -> 访问的;Person *p = [Person
new];p.age = 10; // 如果点语法是进行了赋值操作,那么就相当于调用了setter方法;[p.age]; // 这样不赋值相当于调用...
分类:
其他好文 时间:
2014-05-12 09:57:11
阅读次数:
303
代码1. IE5 ,IE6 使用ActiveXObject对象,
其余现代浏览器都支持XMLHttpRequest对象;function ajaxObject(){ var xmlhttp;
if(window.XMLHttpRequest){ xmlhttp = new XMLHt...
分类:
编程语言 时间:
2014-05-12 09:43:56
阅读次数:
445
Given a string S and a string T, count the
number of distinct subsequences of T in S.A subsequence of a string is a new
string which is formed from th...
分类:
其他好文 时间:
2014-05-12 09:37:51
阅读次数:
287
前几天谈了正则匹配 js 字符串的问题:《js 正则学习小记之匹配字符串》 和 《js
正则学习小记之匹配字符串优化篇》。里面讲到了优化正则起到提升性能的问题,但是能提升多少呢?于是我去测试了,发现TMD几乎微乎其微,我用1千字符串进行100万次匹配测试,优不优化根本没区别。这不科学,我白看了这么多...
分类:
Web程序 时间:
2014-05-12 08:38:18
阅读次数:
327
#include "widget.h"#include
"ui_widget.h"#include #include Widget::Widget(QWidget *parent) :
QWidget(parent), ui(new Ui::Widget) { ui->setupUi(t...
分类:
其他好文 时间:
2014-05-12 08:12:35
阅读次数:
243
原文:学习javascript
的一点感想//动态性是指,在一个Javascript对象中,要为一个属性赋值,我们不必事先创建一个字段,只需要在使用的时候做赋值操作即可,如下例:var
obj=new object();obj.name="myname";obj.say=function(){ al...
分类:
编程语言 时间:
2014-05-12 08:01:25
阅读次数:
510
原文:浅谈 js 正则字面量 与 new RegExp 执行效率前几天谈了正则匹配 js
字符串的问题:《js 正则学习小记之匹配字符串》 和 《js
正则学习小记之匹配字符串优化篇》。里面讲到了优化正则起到提升性能的问题,但是能提升多少呢?于是我去测试了,发现TMD几乎微乎其微,我用1千字符串进行...
分类:
Web程序 时间:
2014-05-12 07:25:28
阅读次数:
520
The Universal MaxCap Impact Primary Crusher
features the best of both the Andreas and New Holland Style Primary Crushers. It
offers a large expansion ...
分类:
其他好文 时间:
2014-05-10 22:47:22
阅读次数:
396