You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If i use the sprites examples (particulary the "Labeled Geometry" example) I am receiving the following error.
var radarMaterial = new THREE.SpriteMaterial( { map: radarTexture2, useScreenCoordinates: true, alignment: THREE.SpriteAlignment.topLeft } );
Uncaught TypeError: Cannot read property 'topLeft' of undefined.
If i doesn't use the "alignment: THREE.SpriteAlignment.topLeft" the sprites are not centered with respect to the center of the Cartesian axes. (I read that SpriteMaterial.alignment and SpriteMaterial.useScreenCoordinates have been removed from Threejs.) Could You update these examples to make them compatible with the version 64?
Many thanks in advance,
Fabrizio.
The text was updated successfully, but these errors were encountered:
If i use the sprites examples (particulary the "Labeled Geometry" example) I am receiving the following error.
var radarMaterial = new THREE.SpriteMaterial( { map: radarTexture2, useScreenCoordinates: true, alignment: THREE.SpriteAlignment.topLeft } );
Uncaught TypeError: Cannot read property 'topLeft' of undefined.
If i doesn't use the "alignment: THREE.SpriteAlignment.topLeft" the sprites are not centered with respect to the center of the Cartesian axes. (I read that SpriteMaterial.alignment and SpriteMaterial.useScreenCoordinates have been removed from Threejs.) Could You update these examples to make them compatible with the version 64?
Many thanks in advance,
Fabrizio.
The text was updated successfully, but these errors were encountered: