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