I hereby claim:
- I am fallenoak on github.
- I am fallenoak (https://keybase.io/fallenoak) on keybase.
- I have a public key ASBxfamOaB2G-OrwjoGCws3_j2NbtyGN4krVfwlqJAUMswo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
enum GLEnum { | |
/* TextureMagFilter */ | |
GL_NEAREST = 0x2600, | |
GL_LINEAR = 0x2601, | |
/* TextureParameterName */ | |
GL_TEXTURE_MAG_FILTER = 0x2800, | |
GL_TEXTURE_MIN_FILTER = 0x2801, | |
GL_TEXTURE_WRAP_S = 0x2802, | |
GL_TEXTURE_WRAP_T = 0x2803, |
THREE.Vector3.prototype.lerp = function ( a, t ) { | |
return this.clone().addSelf( a.clone().subSelf( this ).multiplyScalar( t ) ); | |
}; | |
THREE.Vertex.prototype.interpolate = function( other, t ) { | |
var v = new THREE.Vertex( this.position.lerp( other.position, t ) ); | |
v.normal = this.normal.clone(); | |
return v; | |
}; |