mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 04:01:52 +00:00
Update THREE.js definitions to r79
This commit is contained in:
@@ -114,7 +114,7 @@
|
||||
clothGeometry.dynamic = true;
|
||||
clothGeometry.computeFaceNormals();
|
||||
|
||||
var uniforms = { texture: { type: "t", value: clothTexture } };
|
||||
var uniforms = { texture: { value: clothTexture } };
|
||||
var vertexShader = document.getElementById('vertexShaderDepth').textContent;
|
||||
var fragmentShader = document.getElementById('fragmentShaderDepth').textContent;
|
||||
|
||||
|
||||
@@ -182,7 +182,7 @@
|
||||
scene.add( helper );
|
||||
|
||||
|
||||
var clipMorpher = THREE.AnimationClip.CreateFromMorphTargetSequence( 'facialExpressions', mesh.geometry.morphTargets, 3 );
|
||||
var clipMorpher = THREE.AnimationClip.CreateFromMorphTargetSequence( 'facialExpressions', mesh.geometry.morphTargets, 3, true );
|
||||
var clipBones = geometry.animations[0];
|
||||
|
||||
mixer = new THREE.AnimationMixer( mesh );
|
||||
|
||||
@@ -95,10 +95,10 @@
|
||||
var vertexShader = document.getElementById( 'vertexShader' ).textContent;
|
||||
var fragmentShader = document.getElementById( 'fragmentShader' ).textContent;
|
||||
var uniforms = {
|
||||
topColor: { type: "c", value: new THREE.Color( 0x0077ff ) },
|
||||
bottomColor: { type: "c", value: new THREE.Color( 0xffffff ) },
|
||||
offset: { type: "f", value: 33 },
|
||||
exponent: { type: "f", value: 0.6 }
|
||||
topColor: { value: new THREE.Color( 0x0077ff ) },
|
||||
bottomColor: { value: new THREE.Color( 0xffffff ) },
|
||||
offset: { value: 33 },
|
||||
exponent: { value: 0.6 }
|
||||
};
|
||||
uniforms.topColor.value.copy( hemiLight.color );
|
||||
|
||||
|
||||
Vendored
+490
-356
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user