Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

three-bmfont-text

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

three-bmfont-text - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

3

index.js

@@ -56,2 +56,5 @@ var createLayout = require('layout-bmfont-text')

})
//provide visible glyphs for convenience
this.visibleGlyphs = glyphs;

@@ -58,0 +61,0 @@ //get vec2 quad positions

2

package.json
{
"name": "three-bmfont-text",
"version": "1.1.1",
"version": "1.2.0",
"description": "renders BMFont files in ThreeJS with word-wrapping",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -82,2 +82,8 @@ # three-bmfont-text

#### `geometry.visibleGlyphs`
A filtered set from `geometry.layout.glyphs` intended to align with the vertex data being used by the underlying BufferAttributes.
This is an array of `{ line, position, index, data }` objects, [see here](https://github.com/Jam3/layout-bmfont-text#layoutglyphs). For example, this could be used to add a new BufferAttribuet for `line` offset.
## Demos

@@ -84,0 +90,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc