@plastic-software/three 0.181.1 → 0.181.2
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
|
@@ -75207,7 +75207,7 @@ class WebGLRenderer {
|
|
|
75207
75207
|
|
|
75208
75208
|
if ( scene === null ) scene = _emptyScene; // renderBufferDirect second parameter used to be fog (could be null)
|
|
75209
75209
|
|
|
75210
|
-
const frontFaceCW = ( object.isMesh && object.matrixWorld.determinant() < 0 );
|
|
75210
|
+
const frontFaceCW = ( object.isMesh && object.matrixWorld.determinant() < 0 ) || ( object.isBatchedMesh && object._frontFaceCW );
|
|
75211
75211
|
|
|
75212
75212
|
const program = setProgram( camera, scene, geometry, material, object );
|
|
75213
75213
|
|
package/build/three.module.js
CHANGED
|
@@ -16257,7 +16257,7 @@ class WebGLRenderer {
|
|
|
16257
16257
|
|
|
16258
16258
|
if ( scene === null ) scene = _emptyScene; // renderBufferDirect second parameter used to be fog (could be null)
|
|
16259
16259
|
|
|
16260
|
-
const frontFaceCW = ( object.isMesh && object.matrixWorld.determinant() < 0 );
|
|
16260
|
+
const frontFaceCW = ( object.isMesh && object.matrixWorld.determinant() < 0 ) || ( object.isBatchedMesh && object._frontFaceCW );
|
|
16261
16261
|
|
|
16262
16262
|
const program = setProgram( camera, scene, geometry, material, object );
|
|
16263
16263
|
|