--第三章 表达式--3.1 算数操作符--3.2 关系操作符其计算结果是true或false。如果两个值的类型不同,则Lua认为他们不相等。nil只与自身相等。对于table、userdata和函数,Lua作引用比较,只有当它们引用同一个对象时,才认为它们相等。 --3.3逻辑操作符--3.4字符 ...
分类:
其他好文 时间:
2017-11-25 22:41:55
阅读次数:
148
--第二章 类型与值Lua是动态类型的语言,在语言中没有类型定义的语法,每个值都带有它自身的类型信息。8种基础类型:nil boolean number string userdata function thread table --2.1nil--2.2booleanLua将false和nil都视 ...
分类:
其他好文 时间:
2017-11-25 21:35:22
阅读次数:
140
Getting started Getting started Getting started To get started, take a look at the Light switch demo. It shows how a simple application can use the me ...
分类:
其他好文 时间:
2017-11-13 13:56:58
阅读次数:
198
.基本概念 1.光源:unity支持的光源有四种 1)平行光Directional Light 2)点光源Point Light 3)聚光灯光源Spot Light 4)区域光光源Area Light 此外,发光材质也可以算作一种特殊光源 2.光与物体相交 光与物体相交有两个结果:吸收(aborpt ...
分类:
编程语言 时间:
2017-11-11 13:03:12
阅读次数:
231
关于为何出现No resource found that matches the given name ‘Theme.AppCompat.Light’的原因 这边博客已经写的很清楚了 大家可以参考一下 http://www.jianshu.com/p/6ad7864e005e 在解决该异常时遇到了一 ...
分类:
移动开发 时间:
2017-11-10 18:29:26
阅读次数:
204
ATP-EMTP v11.4 1CD BETA CAE Systems v15.3.0 Win64 & Linux64 2DVD Intelligent Light FieldView v15 Win64 & Linux64 2CD JewelCAD.Pro.v2.2.3 1CD Mathworks ...
分类:
其他好文 时间:
2017-11-10 16:52:15
阅读次数:
371
先亮结果图:(忽略中文显示功能,请查看以前文章进行修改) cm_light = mpl.colors.ListedColormap(['g', 'r', 'b']) 目的: 生成分类器模型的界面图(展示模型的分类界面) 记住:平面也是由许多点组成的网格点组成的 (1)选出两个维度,x1,x2;选择出 ...
分类:
编程语言 时间:
2017-11-05 18:35:37
阅读次数:
2909
魔性的舞蹈 this.p0 = p0; this.p1 = p1; this.distance = dist; this.size = size; this.light = light || 1.0; this.force = force || 0.5; this.image = stroke("h ...
分类:
其他好文 时间:
2017-11-05 17:20:03
阅读次数:
126
1,lua基本类型:nil,boolean,number,string,userdata,function,thread,table。可以用函数type获取变量的类型。 2,lua中的字符串可以用单引号括也可以用双引号括,可以很长,长到一本书的大小。也可以很短,短到一个字符。lua的变量都是动态类型 ...
分类:
其他好文 时间:
2017-11-04 13:13:09
阅读次数:
130
I remember tears streaming down your face, When I said I'll never let you go. When all those shadows almost killed your light, I remember you said don ...
分类:
其他好文 时间:
2017-11-03 20:13:37
阅读次数:
187