上一页 1 2 3 4 5 6 ··· 8 下一页

2016年3月4日

2016/03/04 codes

摘要: IncrementTimeStamp:function(){ if(this.m_timeStamp == b2Settins.USHRT_MAX){ for(var i = 0;i < b2Settins.b2_maxProxies;++i){ this.m_proxyPool[i].timeSt 阅读全文

posted @ 2016-03-04 23:22 琳姐姐 阅读(144) 评论(0) 推荐(0)

2016年3月3日

2016/03/03 codes

摘要: <!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title></title> <style type="text/css"> .heart{ width: 200px; height: 200px; background-c 阅读全文

posted @ 2016-03-03 22:54 琳姐姐 阅读(87) 评论(0) 推荐(0)

2016年3月1日

2016/03/01 codes

摘要: if(deltaUpper > 0){ index = upperIndex; while(index < boundCount - 1 && bounds[index + 1].value <= upperValue){ bound = bounds[index]; nextBound = bou 阅读全文

posted @ 2016-03-01 17:35 琳姐姐 阅读(172) 评论(0) 推荐(0)

2016年2月29日

2016/02/29 codes

摘要: GetProxy:function(proxyId){ if(proxyId == b2Pair.b2_nullPair || this.m_proxyPool[proxyId].IsValid() == false){return null;} return this.m_proxyPool[pr 阅读全文

posted @ 2016-02-29 17:18 琳姐姐 阅读(168) 评论(0) 推荐(0)

2016年2月28日

2016/02/28 codes

摘要: pair.SetRemoved(); if(b2BroadPhase.s_validate){this.ValidateBuffer();} }, commit:function(){var i = 0;var removeCount = 0;var proxies = this.m_broadPh 阅读全文

posted @ 2016-02-28 13:28 琳姐姐 阅读(129) 评论(0) 推荐(0)

2016年2月27日

2016/02/27 codes

摘要: b2Math.b2Abs = function(a){return a > 0.0 ? a : -a ;};b2Math.b2AbsV = function(a){var b = new b2Vec2(b2Math.b2Abs(a.x),b2Math.b2Abs(a.y));return b};b2 阅读全文

posted @ 2016-02-27 22:06 琳姐姐 阅读(97) 评论(0) 推荐(0)

2016年2月25日

2016/02/25 codes

摘要: var b2Math = Class.create();b2Math.prototype = {initialize: function () {};b2Math.b2IsValid = function (x) { return isFinite(x);};b2Math.b2Dot = funct 阅读全文

posted @ 2016-02-25 22:05 琳姐姐 阅读(187) 评论(0) 推荐(0)

2016年2月24日

2016/02/24 codes

摘要: CrossVF:function (s){var tX = this.x;x.this = s * this.y;this.y = -s * tX;}, CrossFV:function (s){var tX = this.x;this.x = -s * this.y;this.y = s * tX 阅读全文

posted @ 2016-02-24 23:42 琳姐姐 阅读(89) 评论(0) 推荐(0)

2016年2月23日

2016/02/23 codes

摘要: function loop(){ if(getBrowserDimensions()){ setwalls(); }}delta[0] += (0 - delta[0]) * 5;delta[1] += (1 - delta[1]) * 5; world.m_gravity. x = gravity 阅读全文

posted @ 2016-02-23 22:48 琳姐姐 阅读(114) 评论(0) 推荐(0)

2016年2月22日

2016/02/22 codes

摘要: var canvas;var delta = [0,0];var stage = [window.screenX,window.screenY,window.innerWidth,window.innerHeight];getBrowserDimensions(); var themes = [ [ 阅读全文

posted @ 2016-02-22 17:52 琳姐姐 阅读(161) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 ··· 8 下一页

导航