Vector3.Lerp 插值static
functionLerp(from:Vector3,to:Vector3,t: float) :Vector3Description描述Linearly
interpolates between two vectors.两个向量之间的线性插值。Interp...
分类:
其他好文 时间:
2014-05-12 17:12:14
阅读次数:
366
static int GetRandomSeed( ){byte[] bytes = new
byte[4];System.Security.Cryptography.RNGCryptoServiceProvider rng = new
System.Security.Cryptography.RN...
分类:
其他好文 时间:
2014-05-12 16:10:44
阅读次数:
269
public partial class PanelX : UserControl { private
Point oldXY; //private static PanelX instance; //public DataRow dr = null...
分类:
其他好文 时间:
2014-05-10 20:18:46
阅读次数:
260
function checkmemory%Copyright (c) 2014,Lv Qi%All
rights reserved.%%Redistribution and use in source and binary forms, with or
without modification, a...
分类:
其他好文 时间:
2014-05-10 20:07:52
阅读次数:
413
欧几里得算法求最大公约数算法思想:
求p和q的最大公约数,如果q=0,最大公约数就是p;否则,p除以q余数为r,p和q的最大公约数即q和r的最大公约数。 java实现代码: 1 public
class Demo0 { 2 public static void main(String[] ...
分类:
编程语言 时间:
2014-05-06 09:20:44
阅读次数:
434
前段时间认真的看了一下《lua程序设计(第二版)》这本书,每一章写一个lua脚本,诸多注释,相信给初学者有一定帮助。 -- 第一章代码print("hello
Hello");-- 全局函数function face(n) if n == 0 then return 1 else return n ...
分类:
其他好文 时间:
2014-05-06 00:57:20
阅读次数:
339
1、static_cast和dynamic_cast的类型检查
static_cast的类型检查:只检查无关类之间的转换 CBaseY* pY1 = static_cast(pX); // 错误,编译未通过,
类型指向是无关的 (解释:指针变量PX是CBaseX类,现在要将其转换为CBaseY类(和...
分类:
其他好文 时间:
2014-05-06 00:34:38
阅读次数:
295
调用系统Intent剪裁图片 /** * 调用系统Intent剪裁图片 * @param
context * @param uri * @param w * @param h */ public static void startP...
分类:
移动开发 时间:
2014-05-06 00:29:43
阅读次数:
441
public class cal{public static void main(String[]
args){calculator ca=new calculator();byte[] first=new byte[4];byte[] second=new
byte[4];System.out.p...
分类:
其他好文 时间:
2014-05-02 15:23:23
阅读次数:
395
在Desktop.js中扩展一个函数initShortCut : function() {
var btnHeight = 64; var btnWidth = 64; var btnPadding = 30; var col = { index
...
分类:
Web程序 时间:
2014-05-02 13:28:43
阅读次数:
490