swt.m: 1 function [ swtMap ] = swt( im, searchDirection ) 2 %swt Preforms stoke width transform on input image 3 % A novel image operator that se...
分类:
其他好文 时间:
2014-07-19 19:35:50
阅读次数:
287
src1:好吧,CSS3 3D transform变换,不过如此!评价:图文并茂地解释 CSS 3D transform 的基本概念及原理,超级通俗易懂,读后简直醍醐灌顶啊!!!幽默的程序员笔记:一、4个概念1、突破口:三个方法 3D transform 中的三个方法: (1)rotateX(a.....
分类:
Web程序 时间:
2014-07-19 09:20:59
阅读次数:
324
js#pragma strict//用于绑定参照物对象 var target : Transform; //缩放系数 var distance = 10.0; //左右滑动移动速度 var xSpeed = 250.0; var ySpeed = 120.0; //缩放限...
分类:
移动开发 时间:
2014-07-19 09:13:27
阅读次数:
285
using UnityEngine;using System.Collections;public class sheji : MonoBehaviour { public int speed = 5; public Transform newobject; float axisX2 = 0; .....
分类:
移动开发 时间:
2014-07-19 09:01:18
阅读次数:
405
1. 放大缩小float value = 2.0;self.imageView.transform = CGAffineTransformMakeScale(value, value);2. 移动// 重新赋值按钮的中点orangeBtn.center = center;3. 旋转// 左旋转...
分类:
其他好文 时间:
2014-07-18 08:20:30
阅读次数:
135
游戏中咱们经常用到碰撞检测,一般的游戏引擎也会自带有自身的检测碰撞类,但有时候不过灵活,这时候我们希望自己可以自定义一些碰撞检测类。tong顶一些埃。。importandroid.graphics.Rect;publicclassCollisionUtil{/***矩形碰撞检测参数为x,y,width,height**@paramx1*第一个..
分类:
其他好文 时间:
2014-07-17 16:25:21
阅读次数:
233
using UnityEngine;using System.Collections;public class GUITest : MonoBehaviour { public GUISkin myGUISking; private Rect windowRect; private...
分类:
其他好文 时间:
2014-07-16 17:41:40
阅读次数:
299
Arbitrage
Problem Description
Arbitrage is the use of discrepancies in currency exchange rates to transform one unit of a currency into more than one unit of the same currency. For example, ...
分类:
其他好文 时间:
2014-07-16 10:05:49
阅读次数:
260
我们在做数据绘图或函数图像时经常需要使用对数坐标系。尤其是数据的范围跨越很多个数量级时,通常的线性坐标系下无法表现出数据特征。
Scilab 中Plot函数无法画出对数坐标。需要使用 plot2d 函数。
plot2d 函数的基本用法如下:
plot2d([logflag,][x,],y[,style[,strf[,leg[,rect[,nax]]]]])
plot2d([log...
分类:
其他好文 时间:
2014-07-16 09:18:33
阅读次数:
338
摘要: CoreGraphics的功能非常强大,可以绘制各种图形;今天学习一下怎么绘制简单的点线面,记录学习。一、导入coreGraphics.framework二、绘制图形1、绘制矩形// 绘制矩形- (void)drawRectangle { // 定义矩形的rect CGRect rec...
分类:
其他好文 时间:
2014-07-14 22:22:06
阅读次数:
298