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

troika-2d

Package Overview
Dependencies
Maintainers
0
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

troika-2d - npm Package Versions

1235

0.23.0

Diff

Changelog

Source

0.23.0 (2020-04-16)

Bug Fixes

  • troika-3d-text: selection range rects now honor clipRect, and are instanced (ba86004)
  • troika-3d-ui: allow canceling drag-scroll behavior with e.preventDefault() (eca5f15)
  • troika-3d-ui: prevent sync of text nodes before flex layout finishes (4769cac)
  • troika-three-utils: fragmentColorTransform is now inserted prior to postprocessing chunks (97cd9ac), closes #20

Features

  • troika-3d-ui: add onAfterFlexLayoutApplied hook for FlexNodes (912f95c)
  • troika-3d-ui: allow overriding DatSelect dropdown styles/config (bf78e79)
  • troika-worker-modules: improve rehydration of functions in worker (8f63090), closes #31

Performance Improvements

  • troika-3d-ui: make bg/border layers instanced, and move clipping to vertex shader (f7526f4)
lojjic
published 0.22.0 •

Changelog

Source

0.22.0 (2020-04-02)

Bug Fixes

  • examples: fix transparency of globe (8886bc1)
  • examples: make bezier material doublesided (163b3e0)
  • troika-3d-text: letterSpacing no longer applied after newlines (61cb4f8), closes #33
  • troika-xr: fix TargetRay transparency by rendering last w/o depth testing (045ec27)

Features

  • troika-3d-text: add 'orientation' parameter for defining default layout plane (f2c0c76), closes #34

Performance Improvements

  • troika-3d-text: move clipping logic from fragment to vertex shader (1accf78)
  • troika-xr: avoid full update pass every frame in WristMountedUI (4a4cd16)
  • troika-xr: avoid setting grip material colors every frame (d3f1246)
lojjic
published 0.21.0 •

Changelog

Source

0.21.0 (2020-03-27)

Features

  • examples: beziers: add instanceable version of the beziers, and add point light option (0739f4d)
  • troika-3d: instancing now supports custom derived materials (bad5e02)
  • troika-3d: reduce instancing batch size to 128 (dc4bd8a)
  • troika-3d: update ThreeJS support up to r115 (531ff6a)
  • troika-three-utils: added new options for createDerivedMaterial (d67bb4a)
  • troika-three-utils: derived shadow material uniforms are now synced automatically (7843f23)
lojjic
published 0.20.0 •

Changelog

Source

0.20.0 (2020-03-16)

Bug Fixes

  • troika-3d-ui: fix scrollbars sometimes appearing inappropriately (010be47)
  • troika-3d-ui: update children when first exiting clip rect (294f341)

Features

  • troika-3d-ui: allow dat-gui items to declare their own onUpdate (a707fd5)
  • troika-3d-ui: enable shadow casting by UI block bg/border layers (d2c056c)
  • troika-worker-utils: export function for stringifying functions (977634b)

Performance Improvements

  • skip updating children of inactive wrist-mounted ui (c1b93f1)
lojjic
published 0.19.0 •

Changelog

Source

0.19.0 (2020-02-28)

Bug Fixes

  • troika-xr: disable buggy experimental clickOnPoke feature (46cff53)

Features

  • examples: example configurators are standardized and work in XR (cec6f63)
  • troika-xr: improved default target ray appearance (3798d9e)
lojjic
published 0.18.0 •

Changelog

Source

0.18.0 (2020-02-21)

Bug Fixes

  • the PlaneFacade's geometry now faces up (cb1bb1b)

Features

  • Add a set of facades for common primitive meshes, using shared geometries and with setters for builtin material properties. (d4b309b)
  • Add memoize function in utils (16efb01)
  • troika-3d: allow passing a Vector3 instance to getCameraPosition (f686483)
lojjic
published 0.17.1 •

Changelog

Source

0.18.0 (2020-02-21)

Bug Fixes

  • the PlaneFacade's geometry now faces up (cb1bb1b)

Features

  • Add a set of facades for common primitive meshes, using shared geometries and with setters for builtin material properties. (d4b309b)
  • Add memoize function in utils (16efb01)
  • troika-3d: allow passing a Vector3 instance to getCameraPosition (f686483)
lojjic
published 0.17.0 •

lojjic
published 0.16.0 •

lojjic
published 0.15.6 •

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