git diff -U0 --minimal -b -w > 1.p git apply --unidiff-zero 1.p
git diff -U0 --minimal -b -w > 1.p git apply --unidiff-zero 1.p
GLL.prototype.PosAndRotY = G__.prototype.PosAndRotY = function (x, y, z, degree){ thi...
var GLL = function(){ this.isMided = false; this.position = new THREE.Vector3()...
server { listen 80 default_server; listen 443 ssl; server_name www.slimgirl...
WebSocket 是 HTML5 的一个引入注目的特性,它通常用于 Web 端,为构建实时的 Web 应用提供方便。WebSocket 是一个基于 TCP 的协议,它借助于...
1. var mov2 = new THREE.Vector2(); var planeGeometry = new THREE.PlaneBufferGeometry(...
1. msheOpas[0] = groups[0].clone(); msheOpas[0].material = msheOpas[0].material.clone()...
var SimpleParticle = function() { this.particles = []; this.explode = function (x, y, i...
https://blog.csdn.net/u013052238/article/details/81436291 https://blog.csdn.net/zhangha...
this.context.scale(DPR*this.width/414, DPR*this.height/736) maxY += 100 var waves = [];...
var mesh = creatGradPlane(0,0,0, 100,100, [[0, '#fcc'], [1, '#fc3']]) scene.add(mesh); ...
http://coyee.com/article/11101-webgl-physics-based-car-using-babylon-js-and-oimo-js
this.nearestZ = -c.disdanceHalf _this = this; this.go = function(index){ this.n...
this.addBall = function(w, x,y,z, o){ if (o === undefined) o={}; o.type = 'sphe...
html this.shootHeight = 4 gui.add(c, 'shootHeight', 0, 10); WebGLRenderer({precision:...
canno world.broadphase = new CANNON.SAPBroadphase(world); world.broadphase.useBoundingB...
var c = new function () { this.cameraY = 7.2; this.cameraZ = 6.3; this.LookatY = 0; thi...
ThreeUI.prototype.draw = function() { if (!this.shouldReDraw) return; // Reset canvas i...
var BallControls = function(camera, domElement) { var scope = this; scope.enabled =...