摘要:GetProxy:function(proxyId){ if(proxyId == b2Pair.b2_nullPair || this.m_proxyPool[proxyId].IsValid() == false){return null;} return this.m_proxyPool[pr
阅读全文
摘要:pair.SetRemoved(); if(b2BroadPhase.s_validate){this.ValidateBuffer();} }, commit:function(){var i = 0;var removeCount = 0;var proxies = this.m_broadPh
阅读全文
摘要: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
阅读全文
摘要:var b2Math = Class.create();b2Math.prototype = {initialize: function () {};b2Math.b2IsValid = function (x) { return isFinite(x);};b2Math.b2Dot = funct
阅读全文
摘要: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
阅读全文
摘要:function loop(){ if(getBrowserDimensions()){ setwalls(); }}delta[0] += (0 - delta[0]) * 5;delta[1] += (1 - delta[1]) * 5; world.m_gravity. x = gravity
阅读全文
摘要:var canvas;var delta = [0,0];var stage = [window.screenX,window.screenY,window.innerWidth,window.innerHeight];getBrowserDimensions(); var themes = [ [
阅读全文
摘要:var Class = { create:function(){ var parent = null,properties = $A(arguments); if(Object.isFunction(properties[0])) parent = properties.shift(); funct
阅读全文
摘要:<!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title>2016/02/20</title></head><body><div id="mainDiv"> <div id = "content"> <div id = "
阅读全文
摘要:<!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title></title> <style> h1{text-align: center;} p1{text-align: center;} *{ margin:0; padd
阅读全文
摘要:.roundedTwo label:after { content: ''; width: 9px; height: 5px; position: absolute; top: 5px; left: 4px; border: 3px solid #fcfff4; border-top: none;
阅读全文
摘要:<!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title>2016/02/16 codes</title> <link rel="stylesheet" href="assets/reset.css"> <style> .
阅读全文
摘要:return e.addTest = function(a,b){ if(typeof a == "object") for(var d in a )y(a,d)&& e.addTest(d,a[d]); else{a = a.toLowerCase(); if(e[a]!== c)return e
阅读全文
摘要:<!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="widt
阅读全文
摘要:return e.addTest = function(a,b){ if(typeof a == "object") for(var d in a )y(a,d)&& e.addTest(d,a[d]); else{a = a.toLowerCase(); if(e[a]!== c)return e
阅读全文
摘要:var docElem = window.document.documentElement, transEndEventNames = { 'WebkitTransition':'webkitTransitionEnd', 'MozTransition':'mozTransitionEnd', 'O
阅读全文
摘要:;(function(window){ 'use strict'; function grid3D(el,options){ this.el = el; this.options = extend({},this.options); extend(this.options,options); thi
阅读全文
摘要:for(i = 0,I = p.length;I>i;i++)for(c = p[i]; c.n) { if(b){if(c,f){for( m = 0,n = c.f.length;n > m;m++)if(c.f[m] = b){c.f.splice(m,1);break}!c.f.length
阅读全文
摘要:;(function(window){ 'use strict'; function extend(a,b){ for(var key in b){ if(b.hasOwnProperty(key)){ a[key] = b[key]; } } return a; } function SVGLod
阅读全文
摘要:<!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="widt
阅读全文
摘要:.shadow{ width:100%; height: 168px; position: relative; margin-top: -110px; background: transparent url(../images/shadow.png) no-repeat bottom center;
阅读全文
摘要:function q(a){a||(a = b); var c = m(a); return r.shivCSS && !f && !c.hasCSS && (c.hasCSS = !!k(a,"article,aside,figcaption,figure,footer,header,hgroup
阅读全文