three-text 0.2.13 → 0.2.15

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/README.md CHANGED
@@ -322,7 +322,7 @@ For text with tight tracking, connected scripts, or complex kerning pairs, indiv
322
322
 
323
323
  #### Flat geometry mode
324
324
 
325
- When `depth` is 0, the library generates single-sided geometry and relies on `THREE.DoubleSide` materials for back face rendering, reducing triangles by approximately 50%. Custom shaders may need to handle normal flipping for consistent lighting on both sides
325
+ When `depth` is 0, the library generates single-sided geometry with normals pointing toward the camera (positive Z direction), reducing triangles by approximately 50% compared to extruded geometry
326
326
 
327
327
 
328
328
  ## Configuration
@@ -900,9 +900,9 @@ const stats = text.getCacheStatistics();
900
900
  console.log('Cache Statistics:', {
901
901
  hitRate: stats.hitRate, // Cache hit percentage
902
902
  memoryUsageMB: stats.memoryUsageMB, // Memory used in MB
903
- uniqueGlyphs: stats.uniqueGlyphs, // Distinct cached glyphs
904
- totalGlyphs: stats.totalGlyphs, // Total glyphs processed
905
- saved: stats.saved // Tessellations avoided
903
+ size: stats.size, // Entries in cache
904
+ hits: stats.hits, // Cache hits
905
+ misses: stats.misses // Cache misses
906
906
  });
907
907
  ```
908
908