@plastic-software/three 0.180.0 → 0.180.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/three.cjs
CHANGED
|
@@ -74763,7 +74763,7 @@ class WebGLRenderer {
|
|
|
74763
74763
|
|
|
74764
74764
|
if ( scene === null ) scene = _emptyScene; // renderBufferDirect second parameter used to be fog (could be null)
|
|
74765
74765
|
|
|
74766
|
-
const frontFaceCW = ( object.isMesh && object.matrixWorld.determinant() < 0 );
|
|
74766
|
+
const frontFaceCW = ( object.isMesh && object.matrixWorld.determinant() < 0 ) || ( object.isBatchedMesh && object._frontFaceCW );
|
|
74767
74767
|
|
|
74768
74768
|
const program = setProgram( camera, scene, geometry, material, object );
|
|
74769
74769
|
|
package/build/three.module.js
CHANGED
|
@@ -15992,7 +15992,7 @@ class WebGLRenderer {
|
|
|
15992
15992
|
|
|
15993
15993
|
if ( scene === null ) scene = _emptyScene; // renderBufferDirect second parameter used to be fog (could be null)
|
|
15994
15994
|
|
|
15995
|
-
const frontFaceCW = ( object.isMesh && object.matrixWorld.determinant() < 0 );
|
|
15995
|
+
const frontFaceCW = ( object.isMesh && object.matrixWorld.determinant() < 0 ) || ( object.isBatchedMesh && object._frontFaceCW );
|
|
15996
15996
|
|
|
15997
15997
|
const program = setProgram( camera, scene, geometry, material, object );
|
|
15998
15998
|
|