Skip to content

Commit 9b25b7c

Browse files
committed
Updated builds.
1 parent a1224db commit 9b25b7c

7 files changed

+37
-31
lines changed

build/three.cjs

+16-13
Original file line numberDiff line numberDiff line change
@@ -26747,7 +26747,7 @@ const _frustumArray = /*@__PURE__*/ new FrustumArray();
2674726747
const _box$1 = /*@__PURE__*/ new Box3();
2674826748
const _sphere$2 = /*@__PURE__*/ new Sphere();
2674926749
const _vector$5 = /*@__PURE__*/ new Vector3();
26750-
const _forward = /*@__PURE__*/ new Vector3();
26750+
const _forward$1 = /*@__PURE__*/ new Vector3();
2675126751
const _temp = /*@__PURE__*/ new Vector3();
2675226752
const _renderList = /*@__PURE__*/ new MultiDrawRenderList();
2675326753
const _mesh = /*@__PURE__*/ new Mesh();
@@ -28205,7 +28205,7 @@ class BatchedMesh extends Mesh {
2820528205
// get the camera position in the local frame
2820628206
_matrix$1.copy( this.matrixWorld ).invert();
2820728207
_vector$5.setFromMatrixPosition( camera.matrixWorld ).applyMatrix4( _matrix$1 );
28208-
_forward.set( 0, 0, -1 ).transformDirection( camera.matrixWorld ).transformDirection( _matrix$1 );
28208+
_forward$1.set( 0, 0, -1 ).transformDirection( camera.matrixWorld ).transformDirection( _matrix$1 );
2820928209

2821028210
for ( let i = 0, l = instanceInfo.length; i < l; i ++ ) {
2821128211

@@ -28229,7 +28229,7 @@ class BatchedMesh extends Mesh {
2822928229

2823028230
// get the distance from camera used for sorting
2823128231
const geometryInfo = geometryInfoList[ geometryId ];
28232-
const z = _temp.subVectors( _sphere$2.center, _vector$5 ).dot( _forward );
28232+
const z = _temp.subVectors( _sphere$2.center, _vector$5 ).dot( _forward$1 );
2823328233
_renderList.push( geometryInfo.start, geometryInfo.count, z, i );
2823428234

2823528235
}
@@ -49033,7 +49033,9 @@ function now() {
4903349033
const _position$1 = /*@__PURE__*/ new Vector3();
4903449034
const _quaternion$1 = /*@__PURE__*/ new Quaternion();
4903549035
const _scale$1 = /*@__PURE__*/ new Vector3();
49036-
const _orientation$1 = /*@__PURE__*/ new Vector3();
49036+
49037+
const _forward = /*@__PURE__*/ new Vector3();
49038+
const _up = /*@__PURE__*/ new Vector3();
4903749039

4903849040
/**
4903949041
* The class represents a virtual listener of the all positional and non-positional audio effects
@@ -49201,13 +49203,14 @@ class AudioListener extends Object3D {
4920149203
super.updateMatrixWorld( force );
4920249204

4920349205
const listener = this.context.listener;
49204-
const up = this.up;
4920549206

4920649207
this.timeDelta = this._clock.getDelta();
4920749208

4920849209
this.matrixWorld.decompose( _position$1, _quaternion$1, _scale$1 );
4920949210

49210-
_orientation$1.set( 0, 0, -1 ).applyQuaternion( _quaternion$1 );
49211+
// the initial forward and up directions must be orthogonal
49212+
_forward.set( 0, 0, -1 ).applyQuaternion( _quaternion$1 );
49213+
_up.set( 0, 1, 0 ).applyQuaternion( _quaternion$1 );
4921149214

4921249215
if ( listener.positionX ) {
4921349216

@@ -49218,17 +49221,17 @@ class AudioListener extends Object3D {
4921849221
listener.positionX.linearRampToValueAtTime( _position$1.x, endTime );
4921949222
listener.positionY.linearRampToValueAtTime( _position$1.y, endTime );
4922049223
listener.positionZ.linearRampToValueAtTime( _position$1.z, endTime );
49221-
listener.forwardX.linearRampToValueAtTime( _orientation$1.x, endTime );
49222-
listener.forwardY.linearRampToValueAtTime( _orientation$1.y, endTime );
49223-
listener.forwardZ.linearRampToValueAtTime( _orientation$1.z, endTime );
49224-
listener.upX.linearRampToValueAtTime( up.x, endTime );
49225-
listener.upY.linearRampToValueAtTime( up.y, endTime );
49226-
listener.upZ.linearRampToValueAtTime( up.z, endTime );
49224+
listener.forwardX.linearRampToValueAtTime( _forward.x, endTime );
49225+
listener.forwardY.linearRampToValueAtTime( _forward.y, endTime );
49226+
listener.forwardZ.linearRampToValueAtTime( _forward.z, endTime );
49227+
listener.upX.linearRampToValueAtTime( _up.x, endTime );
49228+
listener.upY.linearRampToValueAtTime( _up.y, endTime );
49229+
listener.upZ.linearRampToValueAtTime( _up.z, endTime );
4922749230

4922849231
} else {
4922949232

4923049233
listener.setPosition( _position$1.x, _position$1.y, _position$1.z );
49231-
listener.setOrientation( _orientation$1.x, _orientation$1.y, _orientation$1.z, up.x, up.y, up.z );
49234+
listener.setOrientation( _forward.x, _forward.y, _forward.z, _up.x, _up.y, _up.z );
4923249235

4923349236
}
4923449237

build/three.core.js

+16-13
Original file line numberDiff line numberDiff line change
@@ -26745,7 +26745,7 @@ const _frustumArray = /*@__PURE__*/ new FrustumArray();
2674526745
const _box$1 = /*@__PURE__*/ new Box3();
2674626746
const _sphere$2 = /*@__PURE__*/ new Sphere();
2674726747
const _vector$5 = /*@__PURE__*/ new Vector3();
26748-
const _forward = /*@__PURE__*/ new Vector3();
26748+
const _forward$1 = /*@__PURE__*/ new Vector3();
2674926749
const _temp = /*@__PURE__*/ new Vector3();
2675026750
const _renderList = /*@__PURE__*/ new MultiDrawRenderList();
2675126751
const _mesh = /*@__PURE__*/ new Mesh();
@@ -28203,7 +28203,7 @@ class BatchedMesh extends Mesh {
2820328203
// get the camera position in the local frame
2820428204
_matrix$1.copy( this.matrixWorld ).invert();
2820528205
_vector$5.setFromMatrixPosition( camera.matrixWorld ).applyMatrix4( _matrix$1 );
28206-
_forward.set( 0, 0, -1 ).transformDirection( camera.matrixWorld ).transformDirection( _matrix$1 );
28206+
_forward$1.set( 0, 0, -1 ).transformDirection( camera.matrixWorld ).transformDirection( _matrix$1 );
2820728207

2820828208
for ( let i = 0, l = instanceInfo.length; i < l; i ++ ) {
2820928209

@@ -28227,7 +28227,7 @@ class BatchedMesh extends Mesh {
2822728227

2822828228
// get the distance from camera used for sorting
2822928229
const geometryInfo = geometryInfoList[ geometryId ];
28230-
const z = _temp.subVectors( _sphere$2.center, _vector$5 ).dot( _forward );
28230+
const z = _temp.subVectors( _sphere$2.center, _vector$5 ).dot( _forward$1 );
2823128231
_renderList.push( geometryInfo.start, geometryInfo.count, z, i );
2823228232

2823328233
}
@@ -49031,7 +49031,9 @@ function now() {
4903149031
const _position$1 = /*@__PURE__*/ new Vector3();
4903249032
const _quaternion$1 = /*@__PURE__*/ new Quaternion();
4903349033
const _scale$1 = /*@__PURE__*/ new Vector3();
49034-
const _orientation$1 = /*@__PURE__*/ new Vector3();
49034+
49035+
const _forward = /*@__PURE__*/ new Vector3();
49036+
const _up = /*@__PURE__*/ new Vector3();
4903549037

4903649038
/**
4903749039
* The class represents a virtual listener of the all positional and non-positional audio effects
@@ -49199,13 +49201,14 @@ class AudioListener extends Object3D {
4919949201
super.updateMatrixWorld( force );
4920049202

4920149203
const listener = this.context.listener;
49202-
const up = this.up;
4920349204

4920449205
this.timeDelta = this._clock.getDelta();
4920549206

4920649207
this.matrixWorld.decompose( _position$1, _quaternion$1, _scale$1 );
4920749208

49208-
_orientation$1.set( 0, 0, -1 ).applyQuaternion( _quaternion$1 );
49209+
// the initial forward and up directions must be orthogonal
49210+
_forward.set( 0, 0, -1 ).applyQuaternion( _quaternion$1 );
49211+
_up.set( 0, 1, 0 ).applyQuaternion( _quaternion$1 );
4920949212

4921049213
if ( listener.positionX ) {
4921149214

@@ -49216,17 +49219,17 @@ class AudioListener extends Object3D {
4921649219
listener.positionX.linearRampToValueAtTime( _position$1.x, endTime );
4921749220
listener.positionY.linearRampToValueAtTime( _position$1.y, endTime );
4921849221
listener.positionZ.linearRampToValueAtTime( _position$1.z, endTime );
49219-
listener.forwardX.linearRampToValueAtTime( _orientation$1.x, endTime );
49220-
listener.forwardY.linearRampToValueAtTime( _orientation$1.y, endTime );
49221-
listener.forwardZ.linearRampToValueAtTime( _orientation$1.z, endTime );
49222-
listener.upX.linearRampToValueAtTime( up.x, endTime );
49223-
listener.upY.linearRampToValueAtTime( up.y, endTime );
49224-
listener.upZ.linearRampToValueAtTime( up.z, endTime );
49222+
listener.forwardX.linearRampToValueAtTime( _forward.x, endTime );
49223+
listener.forwardY.linearRampToValueAtTime( _forward.y, endTime );
49224+
listener.forwardZ.linearRampToValueAtTime( _forward.z, endTime );
49225+
listener.upX.linearRampToValueAtTime( _up.x, endTime );
49226+
listener.upY.linearRampToValueAtTime( _up.y, endTime );
49227+
listener.upZ.linearRampToValueAtTime( _up.z, endTime );
4922549228

4922649229
} else {
4922749230

4922849231
listener.setPosition( _position$1.x, _position$1.y, _position$1.z );
49229-
listener.setOrientation( _orientation$1.x, _orientation$1.y, _orientation$1.z, up.x, up.y, up.z );
49232+
listener.setOrientation( _forward.x, _forward.y, _forward.z, _up.x, _up.y, _up.z );
4923049233

4923149234
}
4923249235

build/three.core.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/three.webgpu.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12757,7 +12757,7 @@ const getBitangent = /*@__PURE__*/ Fn( ( [ crossNormalTangent, varyingName ], bu
1275712757

1275812758
if ( builder.material.flatShading !== true ) {
1275912759

12760-
bitangent = varying( crossNormalTangent, varyingName );
12760+
bitangent = varying( bitangent, varyingName );
1276112761

1276212762
}
1276312763

build/three.webgpu.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/three.webgpu.nodes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12757,7 +12757,7 @@ const getBitangent = /*@__PURE__*/ Fn( ( [ crossNormalTangent, varyingName ], bu
1275712757

1275812758
if ( builder.material.flatShading !== true ) {
1275912759

12760-
bitangent = varying( crossNormalTangent, varyingName );
12760+
bitangent = varying( bitangent, varyingName );
1276112761

1276212762
}
1276312763

build/three.webgpu.nodes.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)