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

troika-3d-text

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

troika-3d-text - npm Package Compare versions

Comparing version 0.28.0 to 0.28.1

12

CHANGELOG.md

@@ -6,2 +6,14 @@ # Change Log

## [0.28.1](https://github.com/protectwise/troika/compare/v0.28.0...v0.28.1) (2020-06-17)
### Bug Fixes
* **troika-3d-text:** don't dispose derived materials on base material switch ([3d88475](https://github.com/protectwise/troika/commit/3d88475d2f3ead6bec92694ff0720d4ab643e872)), closes [#59](https://github.com/protectwise/troika/issues/59)
* **troika-3d-text:** set correct `object` in TextMesh raycast intersections ([9f3eaa7](https://github.com/protectwise/troika/commit/9f3eaa713d759996aea274d33a0443541482453a)), closes [#62](https://github.com/protectwise/troika/issues/62)
# [0.28.0](https://github.com/protectwise/troika/compare/v0.27.1...v0.28.0) (2020-06-09)

@@ -8,0 +20,0 @@

8

package.json
{
"name": "troika-3d-text",
"version": "0.28.0",
"version": "0.28.1",
"description": "Troika 3D Text",

@@ -18,4 +18,4 @@ "author": "Jason Johnston <jason.johnston@protectwise.com>",

"dependencies": {
"troika-3d": "^0.28.0",
"troika-three-utils": "^0.28.0",
"troika-3d": "^0.28.1",
"troika-three-utils": "^0.28.1",
"troika-worker-utils": "^0.28.0"

@@ -31,3 +31,3 @@ },

},
"gitHead": "abfdef4be8b700cc817c34991dc7c8604ed8d75b"
"gitHead": "96b3c36ff397b784d58a85c3ab29abae0f19bff3"
}

@@ -24,2 +24,3 @@ import {

const tempVec3b = new Vector3()
const tempArray = []
const origin = new Vector3()

@@ -343,5 +344,2 @@ const defaultOrient = '+x+y'

if (!derivedMaterial || derivedMaterial.baseMaterial !== baseMaterial) {
if (derivedMaterial) {
derivedMaterial.dispose()
}
derivedMaterial = this._derivedMaterial = createTextDerivedMaterial(baseMaterial)

@@ -452,3 +450,8 @@ // dispose the derived material when its base material is disposed:

)
raycastMesh.raycast(raycaster, intersects)
tempArray.length = 0
raycastMesh.raycast(raycaster, tempArray)
for (let i = 0; i < tempArray.length; i++) {
tempArray[i].object = this
intersects.push(tempArray[i])
}
}

@@ -455,0 +458,0 @@ }

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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