@plastic-software/three 0.181.1 → 0.181.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plastic-software/three",
3
- "version": "0.181.1",
3
+ "version": "0.181.3",
4
4
  "description": "JavaScript 3D library",
5
5
  "type": "module",
6
6
  "main": "./build/three.cjs",
@@ -1105,7 +1105,7 @@ class WebGLRenderer {
1105
1105
 
1106
1106
  if ( scene === null ) scene = _emptyScene; // renderBufferDirect second parameter used to be fog (could be null)
1107
1107
 
1108
- const frontFaceCW = ( object.isMesh && object.matrixWorld.determinant() < 0 );
1108
+ const frontFaceCW = ( object.isMesh && object.matrixWorld.determinant() < 0 ) || ( object.isBatchedMesh && object._frontFaceCW );
1109
1109
 
1110
1110
  const program = setProgram( camera, scene, geometry, material, object );
1111
1111